Use name or nick
This commit is contained in:
parent
472518f0b5
commit
f871105ef9
|
@ -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 New Issue
Block a user