diff options
author | Johannes <74607597+JohannesGGE@users.noreply.github.com> | 2023-05-03 15:37:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 15:37:01 +0200 |
commit | ed48a471d44f4ae36486a2f3f6136838f460244e (patch) | |
tree | 2041019782f3e889b25e2dd5c8a715df1cf23551 /apps | |
parent | 2c60ad8df0545fb14e49cac1d19b7cd2992bbaf4 (diff) | |
parent | ab76b086aae185bbccfb87c98b508f0dff4edefc (diff) | |
download | nextcloud-server-ed48a471d44f4ae36486a2f3f6136838f460244e.tar.gz nextcloud-server-ed48a471d44f4ae36486a2f3f6136838f460244e.zip |
Merge pull request #38025 from nextcloud/enh/37800/write-profile-prop-to-system-adressbook
enh(contacts): write profile prop and backend prop to system addressbook
Diffstat (limited to 'apps')
-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; } } } |