From 62eb42a9faa8f49909bfa0957afc43763f32368c 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 10df210a3d..b016c45f15 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; }