From 6f73e02be810ed6adaad6036d8399bdb40fb8713 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 25 Mar 2024 16:11:10 +0100 Subject: [PATCH] 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 f39396a7326a1..b7f4500275271 100644 --- a/apps/contactsinteraction/lib/Card.php +++ b/apps/contactsinteraction/lib/Card.php @@ -96,7 +96,7 @@ public function getETag(): ?string { * @inheritDoc */ public function getSize(): int { - throw new NotImplemented(); + return strlen($this->contact->getCard()); } /**