mirror of
https://github.com/friendica/friendica
synced 2025-05-10 00:24:09 +02:00
Fix for profile limitation / configurable list of limited servers
This commit is contained in:
parent
a0f6f2e73e
commit
e38a699324
3 changed files with 16 additions and 2 deletions
|
@ -373,9 +373,9 @@ class Transmitter
|
|||
}
|
||||
|
||||
$data['preferredUsername'] = $owner['nick'];
|
||||
$data['name'] = $owner['name'];
|
||||
$data['name'] = $full ? $owner['name'] : $owner['nick'];
|
||||
|
||||
if (!$full && !empty($owner['country-name'] . $owner['region'] . $owner['locality'])) {
|
||||
if ($full && !empty($owner['country-name'] . $owner['region'] . $owner['locality'])) {
|
||||
$data['vcard:hasAddress'] = ['@type' => 'vcard:Home', 'vcard:country-name' => $owner['country-name'],
|
||||
'vcard:region' => $owner['region'], 'vcard:locality' => $owner['locality']];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue