diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-03-25 16:11:10 +0100 |
---|---|---|
committer | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2024-05-21 17:35:22 +0200 |
commit | 6f73e02be810ed6adaad6036d8399bdb40fb8713 (patch) | |
tree | 21b658959382bb731492f7381a98740d577ca3dd /apps/contactsinteraction | |
parent | 278aafd4a4f066b62604ad4d12856c67e1c3611f (diff) | |
download | nextcloud-server-6f73e02be810ed6adaad6036d8399bdb40fb8713.tar.gz nextcloud-server-6f73e02be810ed6adaad6036d8399bdb40fb8713.zip |
fix(contactsinteraction): Allow vCard download
Sabre calculates a header for the size of a vcard, therefore we have to
implement the size method.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/contactsinteraction')
-rw-r--r-- | apps/contactsinteraction/lib/Card.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contactsinteraction/lib/Card.php b/apps/contactsinteraction/lib/Card.php index f39396a7326..b7f45002752 100644 --- a/apps/contactsinteraction/lib/Card.php +++ b/apps/contactsinteraction/lib/Card.php @@ -96,7 +96,7 @@ class Card implements ICard, IACL { * @inheritDoc */ public function getSize(): int { - throw new NotImplemented(); + return strlen($this->contact->getCard()); } /** |