1
0
Fork 0

Merge pull request #9409 from annando/twitter-announce

"announce" is activated for Twitter as well
This commit is contained in:
Hypolite Petovan 2020-10-11 09:14:53 -04:00 committed by GitHub
commit 06e3929a68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;