We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afbc2d5 + a8f60c8 commit 1935993Copy full SHA for 1935993
1 file changed
lib/private/Federation/CloudIdManager.php
@@ -86,7 +86,13 @@ protected function getDisplayNameFromContact(string $cloudId): ?string {
86
if (isset($entry['CLOUD'])) {
87
foreach ($entry['CLOUD'] as $cloudID) {
88
if ($cloudID === $cloudId) {
89
- return $entry['FN'];
+ // Warning, if user decides to make his full name local only,
90
+ // no FN is found on federated servers
91
+ if (isset($entry['FN'])) {
92
+ return $entry['FN'];
93
+ } else {
94
+ return $cloudID;
95
+ }
96
}
97
98
0 commit comments