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>
@@ -96,7 +96,7 @@ class Card implements ICard, IACL {
* @inheritDoc
*/
public function getSize(): int {
- throw new NotImplemented();
+ return strlen($this->contact->getCard());
}
/**