enh(contacts): write profile prop and backend prop to system addressbook

Signed-off-by: Johannes Merkel <mail@johannesgge.de>
This commit is contained in:
Johannes Merkel 2023-05-02 16:31:11 +02:00
parent 8f1e711858
commit ab76b086aa
No known key found for this signature in database

View file

@ -90,6 +90,12 @@ class Converter {
case IAccountManager::PROPERTY_TWITTER:
$vCard->add(new Text($vCard, 'X-SOCIALPROFILE', $property->getValue(), ['TYPE' => 'TWITTER']));
break;
case IAccountManager::PROPERTY_ORGANISATION:
$vCard->add(new Text($vCard, 'ORG', $property->getValue()));
break;
case IAccountManager::PROPERTY_ROLE:
$vCard->add(new Text($vCard, 'TITLE', $property->getValue()));
break;
}
}
}