summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-02-23 14:16:00 +0100
committerJoas Schilling <coding@schilljs.com>2017-02-23 14:16:00 +0100
commit6bd4e1f65b627fbbe9fb270987505604cacc104c (patch)
tree3ef5aeb8368b172e3b08194cb3e8a6eb23f12e29 /apps
parent54317e80c0837cb5efe43086685fc09d6796e1ef (diff)
downloadnextcloud-server-6bd4e1f65b627fbbe9fb270987505604cacc104c.tar.gz
nextcloud-server-6bd4e1f65b627fbbe9fb270987505604cacc104c.zip
Use the correct principal for shared addressbooks
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/CardDAV/CardDavBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php
index a6d057452e6..b71c6380a91 100644
--- a/apps/dav/lib/CardDAV/CardDavBackend.php
+++ b/apps/dav/lib/CardDAV/CardDavBackend.php
@@ -180,7 +180,7 @@ class CardDavBackend implements BackendInterface, SyncSupport {
$addressBooks[$row['id']] = [
'id' => $row['id'],
'uri' => $uri,
- 'principaluri' => $principalUri,
+ 'principaluri' => $principalUriOriginal,
'{DAV:}displayname' => $displayName,
'{' . Plugin::NS_CARDDAV . '}addressbook-description' => $row['description'],
'{http://calendarserver.org/ns/}getctag' => $row['synctoken'],