From 4e6f0df77708988a9315d6d0ccbdeefc10a53b06 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 24 Nov 2020 23:14:43 +0100 Subject: [PATCH] send expected format of cloud id Signed-off-by: Arthur Schiwon --- lib/private/Federation/CloudIdManager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/Federation/CloudIdManager.php b/lib/private/Federation/CloudIdManager.php index 43bc0d86a38..d99fc350520 100644 --- a/lib/private/Federation/CloudIdManager.php +++ b/lib/private/Federation/CloudIdManager.php @@ -110,7 +110,8 @@ class CloudIdManager implements ICloudIdManager { $host = $fixedRemote; } $id = $user . '@' . $remote; - return new CloudId($id, $user, $fixedRemote, $this->getDisplayNameFromContact($id)); + $displayName = $this->getDisplayNameFromContact($user . '@' . $host); + return new CloudId($id, $user, $fixedRemote, $displayName); } /** -- 2.39.5