Merge pull request #3608 from nextcloud/backport-3598-shared-addressbooks-fail-on-legacy-endpoint

[stable11] Use the correct principal for shared addressbooks
This commit is contained in:
Lukas Reschke 2017-02-27 21:07:27 +01:00 committed by GitHub
commit fbc5bb45a7
1 changed files with 1 additions and 1 deletions

View File

@ -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'],