summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/DAV
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2019-02-20 20:22:56 +0100
committerMorris Jobke <hey@morrisjobke.de>2019-03-21 16:32:41 +0100
commitd74e49b3e6859c56c0c30f61e81cb1e45a657150 (patch)
tree686f8f46900c0b14d44125873c0d55a5c826a7be /apps/dav/lib/DAV
parent0155edc195ed278a2a4d06c15295433ae0ae8445 (diff)
downloadnextcloud-server-d74e49b3e6859c56c0c30f61e81cb1e45a657150.tar.gz
nextcloud-server-d74e49b3e6859c56c0c30f61e81cb1e45a657150.zip
implement principal property search for calendar user address set property
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/DAV')
-rw-r--r--apps/dav/lib/DAV/GroupPrincipalBackend.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/dav/lib/DAV/GroupPrincipalBackend.php b/apps/dav/lib/DAV/GroupPrincipalBackend.php
index 02f8edf3928..a797a25f90b 100644
--- a/apps/dav/lib/DAV/GroupPrincipalBackend.php
+++ b/apps/dav/lib/DAV/GroupPrincipalBackend.php
@@ -222,6 +222,13 @@ class GroupPrincipalBackend implements BackendInterface {
}, []);
break;
+ case '{urn:ietf:params:xml:ns:caldav}calendar-user-address-set':
+ // If you add support for more search properties that qualify as a user-address,
+ // please also add them to the array below
+ $results[] = $this->searchPrincipals(self::PRINCIPAL_PREFIX, [
+ ], 'anyof');
+ break;
+
default:
$results[] = [];
break;