From d14f604049d16840d62569a212a5ac24c9981306 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 24 May 2021 06:00:23 +0000 Subject: [PATCH] Twitter: Make incoming posts unlisted --- twitter/twitter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twitter/twitter.php b/twitter/twitter.php index 41f865e8..bac4871b 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1668,10 +1668,10 @@ function twitter_createpost(App $a, $uid, $post, array $self, $create_user, $onl $postarray['app'] = strip_tags($post->source); if ($post->user->protected) { - $postarray['private'] = 1; + $postarray['private'] = Item::PRIVATE; $postarray['allow_cid'] = '<' . $self['id'] . '>'; } else { - $postarray['private'] = 0; + $postarray['private'] = Item::UNLISTED; $postarray['allow_cid'] = ''; }