mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 21:41:12 -05:00
enh(contacts): write profile prop and backend prop to system addressbook
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
This commit is contained in:
parent
8f1e711858
commit
ab76b086aa
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue