From: Hypolite Petovan Date: Thu, 18 Oct 2018 02:28:28 +0000 (-0400) Subject: [twitter] Shorten foreign share mention X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=18a742546c9d2eecf08e21134e2180ee44fbacc5;p=friendica-addons.git [twitter] Shorten foreign share mention --- diff --git a/twitter/twitter.php b/twitter/twitter.php index c69a1f81..1c36cee6 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1896,7 +1896,7 @@ function twitter_convert_share(array $attributes, array $author_contact, $conten if ($author_contact['network'] == Protocol::TWITTER) { $mention = '@' . $author_contact['nickname']; } else { - $mention = Protocol::formatMention($attributes['profile'], $attributes['author']); + $mention = $author_contact['addr']; } return ($is_quote_share ? "\n\n" : '' ) . 'RT ' . $mention . ': ' . $content . "\n\n" . $attributes['link'];