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

Signed-off-by: Johannes Merkel <mail@johannesgge.de>
pull/38025/head
Johannes Merkel 2023-05-02 16:31:11 +07:00
parent 8f1e711858
commit ab76b086aa
No known key found for this signature in database
1 changed files with 6 additions and 0 deletions

@ -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;
}
}
}