aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/syncfederationaddressbooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/lib/syncfederationaddressbooks.php')
-rw-r--r--apps/federation/lib/syncfederationaddressbooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/lib/syncfederationaddressbooks.php b/apps/federation/lib/syncfederationaddressbooks.php
index 6419fdddf8e..886f6505b20 100644
--- a/apps/federation/lib/syncfederationaddressbooks.php
+++ b/apps/federation/lib/syncfederationaddressbooks.php
@@ -40,7 +40,7 @@ class SyncFederationAddressBooks {
if (is_null($sharedSecret)) {
continue;
}
- $targetBookId = sha1($url);
+ $targetBookId = $trustedServer['url_hash'];
$targetPrincipal = "principals/system/system";
$targetBookProperties = [
'{DAV:}displayname' => $url