send expected format of cloud id

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-11-24 23:14:43 +01:00
parent 5d03b5c5dd
commit 9cfa8a6c44
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 1 deletions

View File

@ -110,7 +110,8 @@ class CloudIdManager implements ICloudIdManager {
$host = $fixedRemote; $host = $fixedRemote;
} }
$id = $user . '@' . $remote; $id = $user . '@' . $remote;
return new CloudId($id, $user, $fixedRemote, $this->getDisplayNameFromContact($id)); $displayName = $this->getDisplayNameFromContact($user . '@' . $host);
return new CloudId($id, $user, $fixedRemote, $displayName);
} }
/** /**