summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorlabor4 <schreibtisch@labor4.ch>2018-12-20 21:51:48 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-06-07 18:03:09 +0200
commitee0e1c49467f1d0b5f186d083030063da23865b0 (patch)
tree574f9659382f4c56e72e692d3a45c9444ce0328e /apps/dav
parentb968987ed4bf9f3bdcbe423935dd41a36b15ad3d (diff)
downloadnextcloud-server-ee0e1c49467f1d0b5f186d083030063da23865b0.tar.gz
nextcloud-server-ee0e1c49467f1d0b5f186d083030063da23865b0.zip
add carddav-search option for X-ADDRESSBOOKSERVER-MEMBER
Adding field X-ADDRESSBOOKSERVER-MEMBER which can be used to relate persons to groups (macos behaviour). - groups are cards with field X-ADDRESSBOOKSERVER-KIND == 'group' - and all members' UUID/URI in the X-ADDRESSBOOKSERVER-MEMBER array of that group-card. Signed-off-by: labor4 <schreibtisch@labor4.ch>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CardDAV/AddressBookImpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/AddressBookImpl.php b/apps/dav/lib/CardDAV/AddressBookImpl.php
index ae727b8544f..351e064595b 100644
--- a/apps/dav/lib/CardDAV/AddressBookImpl.php
+++ b/apps/dav/lib/CardDAV/AddressBookImpl.php
@@ -269,7 +269,7 @@ class AddressBookImpl implements IAddressBook {
}
// The following properties can be set multiple times
- } else if (in_array($property->name, ['CLOUD', 'EMAIL', 'IMPP', 'TEL', 'URL'])) {
+ } else if (in_array($property->name, ['CLOUD', 'EMAIL', 'IMPP', 'TEL', 'URL', 'X-ADDRESSBOOKSERVER-MEMBER'])) {
if (!isset($result[$property->name])) {
$result[$property->name] = [];
}