mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 07:43:18 -04:00
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>
This commit is contained in:
parent
278aafd4a4
commit
6f73e02be8
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class Card implements ICard, IACL {
|
|||
* @inheritDoc
|
||||
*/
|
||||
public function getSize(): int {
|
||||
throw new NotImplemented();
|
||||
return strlen($this->contact->getCard());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue