aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohannes <74607597+JohannesGGE@users.noreply.github.com>2023-05-03 15:37:01 +0200
committerGitHub <noreply@github.com>2023-05-03 15:37:01 +0200
commited48a471d44f4ae36486a2f3f6136838f460244e (patch)
tree2041019782f3e889b25e2dd5c8a715df1cf23551 /apps
parent2c60ad8df0545fb14e49cac1d19b7cd2992bbaf4 (diff)
parentab76b086aae185bbccfb87c98b508f0dff4edefc (diff)
downloadnextcloud-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.php6
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;
}
}
}