Fix streaming server crashing when updating filters

signup-info-prompt
Thibaut Girka 2019-06-18 15:58:01 +02:00 committed by ThibG
parent f57a0f89a8
commit 48ec6abaca
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ const startWorker = (workerId) => {
} }
// Only send local-only statuses to logged-in users // 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`); log.silly(req.requestId, `Message ${payload.id} filtered because it was local-only`);
return; return;
} }