Merge pull request #760 from MrPetovan/bug/5913-fix-twitter-share

[twitter] Add missing parameter to converShare
This commit is contained in:
Tobias Diekershoff 2018-10-21 16:41:59 +02:00 committed by GitHub
commit cbb75b2329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,8 +557,8 @@ function twitter_post_hook(App $a, array &$b)
// Handling non-native reshares
$b['body'] = Friendica\Content\Text\BBCode::convertShare(
$b['body'],
function (array $attributes, array $author_contact, $content) {
return twitter_convert_share($attributes, $author_contact, $content);
function (array $attributes, array $author_contact, $content, $is_quote_share) {
return twitter_convert_share($attributes, $author_contact, $content, $is_quote_share);
}
);