return $return;
}
-function twitter_convert_share(array $attributes, array $author_contact, $content)
+function twitter_convert_share(array $attributes, array $author_contact, $content, $is_quote_share)
{
if ($author_contact['network'] == Protocol::TWITTER) {
$mention = '@' . $author_contact['nickname'];
$mention = Protocol::formatMention($attributes['profile'], $attributes['author']);
}
- return 'RT ' . $mention . ': ' . $content;
+ return ($is_quote_share ? "\n\n" : '' ) . 'RT ' . $mention . ': ' . $content . "\n\n" . $attributes['link'];
}