Browse Source

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

[twitter] Add missing parameter to converShare
pull/761/head
Tobias Diekershoff 4 years ago committed by GitHub
parent
commit
cbb75b2329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      twitter/twitter.php

4
twitter/twitter.php

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

Loading…
Cancel
Save