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

[twitter] Add missing parameter to converShare
pull/761/head
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
1 changed files with 2 additions and 2 deletions

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);
}
);