Merge pull request #24361 from nextcloud/fix/noid/fedshares-displaynames-again

send expected format of cloud id
This commit is contained in:
Christoph Wurst 2020-11-25 09:49:20 +01:00 committed by GitHub
commit 01790537f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View 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);
}
/**