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.
1 parent ea4fc6b commit 212df7cCopy full SHA for 212df7c
lib/private/Federation/CloudIdManager.php
@@ -86,7 +86,12 @@ 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, no FN is found on federated servers
90
+ if (isset($entry['FN'])) {
91
+ return $entry['FN'];
92
+ } else {
93
+ return $cloudID;
94
+ }
95
}
96
97
0 commit comments