mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix streaming server only working for streams allowing local-only toots
This commit is contained in:
parent
4acb7efb4b
commit
c41da2e962
@ -394,7 +394,7 @@ const startWorker = (workerId) => {
|
||||
}
|
||||
|
||||
// Only send local-only statuses to logged-in users
|
||||
if (event === 'update' && payload.local_only && !req.accountId || !allowLocalOnly) {
|
||||
if (event === 'update' && payload.local_only && !(req.accountId && allowLocalOnly)) {
|
||||
log.silly(req.requestId, `Message ${payload.id} filtered because it was local-only`);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user