Skip to content

Commit 0179053

Browse files
Merge pull request #24361 from nextcloud/fix/noid/fedshares-displaynames-again
send expected format of cloud id
2 parents 81bf307 + 9cfa8a6 commit 0179053

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)