Remove federated sharing address books which are the same as local ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
6dde7e1183
commit
45d8aeb9f2
|
@ -262,8 +262,12 @@ class AddressBookImpl implements IAddressBook {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->addressBookInfo['principaluri'] === 'principals/system/system' &&
|
if (
|
||||||
$this->addressBookInfo['uri'] === 'system') {
|
$this->addressBookInfo['principaluri'] === 'principals/system/system' && (
|
||||||
|
$this->addressBookInfo['uri'] === 'system' ||
|
||||||
|
$this->addressBookInfo['{DAV:}displayname'] === $this->urlGenerator->getBaseUrl()
|
||||||
|
)
|
||||||
|
) {
|
||||||
$result['isLocalSystemBook'] = true;
|
$result['isLocalSystemBook'] = true;
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Reference in New Issue