From 8ae11c4a2978eed8f20b0f94542e8fa52d84121a 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 aa73d0e2122b8..590955104cbd2 100644 --- a/apps/contactsinteraction/lib/Card.php +++ b/apps/contactsinteraction/lib/Card.php @@ -99,7 +99,7 @@ public function getETag(): ?string { * @inheritDoc */ public function getSize(): int { - throw new NotImplemented(); + return strlen($this->contact->getCard()); } /**