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 committed May 21, 2024
1 parent 278aafd commit 6f73e02
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 6f73e02

Please sign in to comment.