1
0
Fork 0

Merge pull request #5942 from MrPetovan/feature/3218-add-convert-share-callback

Add BBCode::convertShare callback parameter
This commit is contained in:
Michael Vogel 2018-10-17 22:01:02 +02:00 committed by GitHub
commit a19f8d642d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 107 additions and 149 deletions

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