Remove network exception in handle_tag
This commit is contained in:
parent
b5fb81f535
commit
45748da8a1
|
@ -1015,11 +1015,7 @@ function handle_tag(App $a, &$body, &$inform, &$str_tags, $profile_uid, $tag, $n
|
||||||
|
|
||||||
$profile = $contact["url"];
|
$profile = $contact["url"];
|
||||||
$alias = $contact["alias"];
|
$alias = $contact["alias"];
|
||||||
$newname = $contact["nick"];
|
$newname = defaults($contact, "name", $contact["nick"]);
|
||||||
|
|
||||||
if (($newname == "") || !in_array($contact["network"], [Protocol::ACTIVITYPUB, Protocol::OSTATUS, Protocol::TWITTER, Protocol::STATUSNET])) {
|
|
||||||
$newname = $contact["name"];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//if there is an url for this persons profile
|
//if there is an url for this persons profile
|
||||||
|
|
Loading…
Reference in a new issue