diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-11-24 23:14:43 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-11-24 23:14:43 +0100 |
commit | 9cfa8a6c442956e0cef0b46d3001686fe97c9da0 (patch) | |
tree | b6926da03b04093ba4adda5576721da7ceca6534 | |
parent | 5d03b5c5ddbc8df4f8f64c02dba69679bdd0d4bf (diff) | |
download | nextcloud-server-9cfa8a6c442956e0cef0b46d3001686fe97c9da0.tar.gz nextcloud-server-9cfa8a6c442956e0cef0b46d3001686fe97c9da0.zip |
send expected format of cloud id
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r-- | lib/private/Federation/CloudIdManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); } /** |