From 7c5aa0bbf167ec58e48625ca254d4518d8ac622b Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 11 Oct 2020 12:27:19 +0000 Subject: [PATCH] "announce" is activated for Twitter as well --- src/Object/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Object/Post.php b/src/Object/Post.php index f3a4aeba14..b89a54a874 100644 --- a/src/Object/Post.php +++ b/src/Object/Post.php @@ -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;