Skip to content

Commit 6f73e02

Browse files
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>
1 parent 278aafd commit 6f73e02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/contactsinteraction/lib/Card.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function getETag(): ?string {
9696
* @inheritDoc
9797
*/
9898
public function getSize(): int {
99-
throw new NotImplemented();
99+
return strlen($this->contact->getCard());
100100
}
101101

102102
/**

0 commit comments

Comments
 (0)