diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-03-25 16:11:10 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-05-22 11:54:48 +0000 |
commit | c7fc7fee60fdc3352a8226466629f0698bc32ba1 (patch) | |
tree | b7c3042444ccd36e19573b81086127da8cd13cca | |
parent | 51adff2755df38ca598a7d9ac63d2efd0c840502 (diff) | |
download | nextcloud-server-c7fc7fee60fdc3352a8226466629f0698bc32ba1.tar.gz nextcloud-server-c7fc7fee60fdc3352a8226466629f0698bc32ba1.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>
-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 aa73d0e2122..590955104cb 100644 --- a/apps/contactsinteraction/lib/Card.php +++ b/apps/contactsinteraction/lib/Card.php @@ -99,7 +99,7 @@ class Card implements ICard, IACL { * @inheritDoc */ public function getSize(): int { - throw new NotImplemented(); + return strlen($this->contact->getCard()); } /** |