mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
Use name or nick
This commit is contained in:
parent
472518f0b5
commit
f871105ef9
1 changed files with 2 additions and 2 deletions
|
@ -602,8 +602,8 @@ class Processor
|
|||
}
|
||||
if (!empty($tag['href'])) {
|
||||
$apcontact = APContact::getByURL($tag['href']);
|
||||
if (!empty($apcontact['name'])) {
|
||||
$fields['name'] = $apcontact['name'];
|
||||
if (!empty($apcontact['name']) || !empty($apcontact['nick'])) {
|
||||
$fields['name'] = $apcontact['name'] ?: $apcontact['nick'];
|
||||
}
|
||||
}
|
||||
} elseif ($tag['type'] == 'Hashtag') {
|
||||
|
|
Loading…
Reference in a new issue