From b8250affb00cc41cdb845e219a098ed49a27373c Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 25 Mar 2024 16:11:10 +0100 Subject: 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 --- apps/contactsinteraction/lib/Card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } /** -- cgit v1.2.3