Browse Source

Fix streaming server crashing when updating filters

closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
48ec6abaca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      streaming/index.js

+ 1
- 1
streaming/index.js View File

@ -376,7 +376,7 @@ const startWorker = (workerId) => {
}
// Only send local-only statuses to logged-in users
if (payload.local_only && !req.accountId) {
if (event === 'update' && payload.local_only && !req.accountId) {
log.silly(req.requestId, `Message ${payload.id} filtered because it was local-only`);
return;
}

Loading…
Cancel
Save