Skip to content
Snippets Groups Projects
Unverified Commit d37034f1 authored by Julius Härtl's avatar Julius Härtl Committed by GitHub
Browse files

Merge pull request #24683 from doc75/federation_confidentiality

parents e196cc0e 83491c6c
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,13 @@ class CloudIdManager implements ICloudIdManager {
if (isset($entry['CLOUD'])) {
foreach ($entry['CLOUD'] as $cloudID) {
if ($cloudID === $cloudId) {
return $entry['FN'];
// Warning, if user decides to make his full name local only,
// no FN is found on federated servers
if (isset($entry['FN'])) {
return $entry['FN'];
} else {
return $cloudID;
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment