Skip to content

Commit

Permalink
fix(contactsinteraction): Allow vCard download
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ChristophWurst authored and miaulalala committed May 16, 2024
1 parent 99d9244 commit 7aeba1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/contactsinteraction/lib/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function getETag(): ?string {
* @inheritDoc
*/
public function getSize(): int {
throw new NotImplemented();
return strlen($this->contact->getCard());
}

/**
Expand Down

0 comments on commit 7aeba1d

Please sign in to comment.