1
0
Fork 0

Remove network exception in handle_tag

This commit is contained in:
Hypolite Petovan 2018-10-17 01:11:50 -04:00
parent b5fb81f535
commit 45748da8a1

View file

@ -1015,11 +1015,7 @@ function handle_tag(App $a, &$body, &$inform, &$str_tags, $profile_uid, $tag, $n
$profile = $contact["url"];
$alias = $contact["alias"];
$newname = $contact["nick"];
if (($newname == "") || !in_array($contact["network"], [Protocol::ACTIVITYPUB, Protocol::OSTATUS, Protocol::TWITTER, Protocol::STATUSNET])) {
$newname = $contact["name"];
}
$newname = defaults($contact, "name", $contact["nick"]);
}
//if there is an url for this persons profile