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-25 14:32:30 +0100 |
commit | 29a452c6932a84bd6ffadc66332bb891ca78e535 (patch) | |
tree | 081742258e61bd5ed8dd4bc65bd9dd4e80321ad6 /lib | |
parent | 10a252c9058cfb28cbd3afc55eb6f4fd8b31fa2d (diff) | |
download | nextcloud-server-29a452c6932a84bd6ffadc66332bb891ca78e535.tar.gz nextcloud-server-29a452c6932a84bd6ffadc66332bb891ca78e535.zip |
send expected format of cloud id
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-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); } /** |