diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-06-18 15:58:01 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-06-18 16:50:04 +0200 |
commit | 48ec6abacadda1cebaddb537ebd540aca914c994 (patch) | |
tree | 24e90f7c375359e16288878ee7df76fd32d8c90c /streaming | |
parent | f57a0f89a8b2b894d028de8e75caddcf3a8c904e (diff) |
Fix streaming server crashing when updating filters
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js index 10df210a3..b016c45f1 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -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; } |