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:
commit
fbc5bb45a7
|
@ -180,7 +180,7 @@ class CardDavBackend implements BackendInterface, SyncSupport {
|
||||||
$addressBooks[$row['id']] = [
|
$addressBooks[$row['id']] = [
|
||||||
'id' => $row['id'],
|
'id' => $row['id'],
|
||||||
'uri' => $uri,
|
'uri' => $uri,
|
||||||
'principaluri' => $principalUri,
|
'principaluri' => $principalUriOriginal,
|
||||||
'{DAV:}displayname' => $displayName,
|
'{DAV:}displayname' => $displayName,
|
||||||
'{' . Plugin::NS_CARDDAV . '}addressbook-description' => $row['description'],
|
'{' . Plugin::NS_CARDDAV . '}addressbook-description' => $row['description'],
|
||||||
'{http://calendarserver.org/ns/}getctag' => $row['synctoken'],
|
'{http://calendarserver.org/ns/}getctag' => $row['synctoken'],
|
||||||
|
|
Loading…
Reference in New Issue