Skip to content

Commit 29a452c

Browse files
committed
send expected format of cloud id
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 10a252c commit 29a452c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/private/Federation/CloudIdManager.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ public function getCloudId(string $user, string $remote): ICloudId {
110110
$host = $fixedRemote;
111111
}
112112
$id = $user . '@' . $remote;
113-
return new CloudId($id, $user, $fixedRemote, $this->getDisplayNameFromContact($id));
113+
$displayName = $this->getDisplayNameFromContact($user . '@' . $host);
114+
return new CloudId($id, $user, $fixedRemote, $displayName);
114115
}
115116

116117
/**

0 commit comments

Comments
 (0)