From 48ec6abacadda1cebaddb537ebd540aca914c994 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 18 Jun 2019 15:58:01 +0200 Subject: [PATCH] Fix streaming server crashing when updating filters --- streaming/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }