diff options
author | Johannes Merkel <mail@johannesgge.de> | 2023-05-02 16:31:11 +0200 |
---|---|---|
committer | Johannes Merkel <mail@johannesgge.de> | 2023-05-02 16:31:11 +0200 |
commit | ab76b086aae185bbccfb87c98b508f0dff4edefc (patch) | |
tree | a1a4f33f9c41a8ee058278fb5becd314cbcc17a9 | |
parent | 8f1e7118589be4fae6a5fca048a15fdfffeba7a3 (diff) | |
download | nextcloud-server-ab76b086aae185bbccfb87c98b508f0dff4edefc.tar.gz nextcloud-server-ab76b086aae185bbccfb87c98b508f0dff4edefc.zip |
enh(contacts): write profile prop and backend prop to system addressbook
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
-rw-r--r-- | apps/dav/lib/CardDAV/Converter.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php index 340e3127f0a..4c7d6f9075f 100644 --- a/apps/dav/lib/CardDAV/Converter.php +++ b/apps/dav/lib/CardDAV/Converter.php @@ -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; } } } |