mirror of
https://github.com/friendica/friendica
synced 2025-05-11 05:44:10 +02:00
Use the name as name
This commit is contained in:
parent
3ff607deee
commit
472518f0b5
2 changed files with 7 additions and 1 deletions
|
@ -1834,7 +1834,7 @@ class Diaspora
|
|||
continue;
|
||||
}
|
||||
|
||||
$fields = ['uri-id' => $uriid, 'name' => substr($person['addr'], 0, 64), 'url' => $person['url']];
|
||||
$fields = ['uri-id' => $uriid, 'name' => substr($person['name'] ?: $person['nick'], 0, 64), 'url' => $person['url']];
|
||||
|
||||
if ($match[1] == Term::TAG_CHARACTER[Term::MENTION]) {
|
||||
$fields['type'] = Term::MENTION;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue