]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Post.php
Merge pull request #9409 from annando/twitter-announce
[friendica.git] / 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;