Merge pull request #760 from MrPetovan/bug/5913-fix-twitter-share
[twitter] Add missing parameter to converShare
This commit is contained in:
commit
cbb75b2329
|
@ -557,8 +557,8 @@ function twitter_post_hook(App $a, array &$b)
|
||||||
// Handling non-native reshares
|
// Handling non-native reshares
|
||||||
$b['body'] = Friendica\Content\Text\BBCode::convertShare(
|
$b['body'] = Friendica\Content\Text\BBCode::convertShare(
|
||||||
$b['body'],
|
$b['body'],
|
||||||
function (array $attributes, array $author_contact, $content) {
|
function (array $attributes, array $author_contact, $content, $is_quote_share) {
|
||||||
return twitter_convert_share($attributes, $author_contact, $content);
|
return twitter_convert_share($attributes, $author_contact, $content, $is_quote_share);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user