Merge pull request #9409 from annando/twitter-announce
"announce" is activated for Twitter as well
This commit is contained in:
commit
06e3929a68
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue