]> source.dussan.org Git - nextcloud-server.git/commitdiff
send expected format of cloud id 24353/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Tue, 24 Nov 2020 22:14:43 +0000 (23:14 +0100)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 25 Nov 2020 13:16:08 +0000 (14:16 +0100)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
lib/private/Federation/CloudIdManager.php

index 43bc0d86a38f289f8a89e0fcb2456e86ae856717..d99fc3505201cb05709ac69a539256d41a7b19d7 100644 (file)
@@ -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);
        }
 
        /**