From 18a742546c9d2eecf08e21134e2180ee44fbacc5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 17 Oct 2018 22:28:28 -0400 Subject: [PATCH] [twitter] Shorten foreign share mention --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.39.5