]> git.mxchange.org Git - friendica-addons.git/commitdiff
[twitter] Add missing parameter to converShare
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 21 Oct 2018 12:45:53 +0000 (08:45 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 21 Oct 2018 12:45:53 +0000 (08:45 -0400)
twitter/twitter.php

index 1c36cee68fb2a6ce616798a5758ea6f3f8484b27..d3440d53bf72f6caec8ece171303375183f350af 100644 (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);
                        }
                );