Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
send expected format of cloud id
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Nov 25, 2020
commit 29a452c6932a84bd6ffadc66332bb891ca78e535
3 changes: 2 additions & 1 deletion lib/private/Federation/CloudIdManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ public function getCloudId(string $user, string $remote): ICloudId {
$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);
}

/**
Expand Down