aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-02-24 16:36:39 +0100
committerGitHub <noreply@github.com>2017-02-24 16:36:39 +0100
commita113ca68eba62e56998e971a48633e4c1b525633 (patch)
tree20929cda4b9ba100b81ec3de367433f80a669154 /apps
parentfa7e30fb207d420a1b5540704a259a3b18d1523a (diff)
parent6bd4e1f65b627fbbe9fb270987505604cacc104c (diff)
downloadnextcloud-server-a113ca68eba62e56998e971a48633e4c1b525633.tar.gz
nextcloud-server-a113ca68eba62e56998e971a48633e4c1b525633.zip
Merge pull request #3598 from nextcloud/issue-3583-shared-addressbooks-fail-on-legacy-endpoint
Use the correct principal for shared addressbooks
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'],