]> git.mxchange.org Git - friendica.git/commitdiff
"announce" is activated for Twitter as well
authorMichael <heluecht@pirati.ca>
Sun, 11 Oct 2020 12:27:19 +0000 (12:27 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 11 Oct 2020 12:27:19 +0000 (12:27 +0000)
src/Object/Post.php

index f3a4aeba1487347141421fcfc06b2d47041093dd..b89a54a874b6239b76b175bb98007d82f47b05e3 100644 (file)
@@ -176,7 +176,7 @@ class Post
                        : false);
 
                $shareable = in_array($conv->getProfileOwner(), [0, local_user()]) && $item['private'] != Item::PRIVATE;
-               $announceable = $shareable && in_array($item['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN]);
+               $announceable = $shareable && in_array($item['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::TWITTER]);
 
                $edpost = false;