Twitter: Make incoming posts unlisted #1124

Merged
annando merged 1 commit from twitter-unlisted into 2021.06-rc 2021-05-24 08:06:36 +02:00

View file

@ -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'] = '';
}