"announce" is activated for Twitter as well
This commit is contained in:
parent
bd89b8262f
commit
7c5aa0bbf1
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class Post
|
||||||
: false);
|
: false);
|
||||||
|
|
||||||
$shareable = in_array($conv->getProfileOwner(), [0, local_user()]) && $item['private'] != Item::PRIVATE;
|
$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;
|
$edpost = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue