Browse Source

Fix streaming server crashing when updating filters

Thibaut Girka 1 month ago
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) => {
376 376
       }
377 377
 
378 378
       // Only send local-only statuses to logged-in users
379
-      if (payload.local_only && !req.accountId) {
379
+      if (event === 'update' && payload.local_only && !req.accountId) {
380 380
         log.silly(req.requestId, `Message ${payload.id} filtered because it was local-only`);
381 381
         return;
382 382
       }

Loading…
Cancel
Save