sent_messages: Finish .received → .saw_event rename.

Commit 3cc2adcd3b (#25423) missed this
in the rename, resulting in extra creation of no-op timers.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-10-06 09:26:30 -07:00 committed by Tim Abbott
parent 4e9c1293e2
commit 9dc1e8ed17
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export class MessageState {
// or took a while to process it, but there is nothing // or took a while to process it, but there is nothing
// wrong with our event loop. // wrong with our event loop.
if (!this.received) { if (!this.saw_event) {
setTimeout(() => this.maybe_restart_event_loop(), 5000); setTimeout(() => this.maybe_restart_event_loop(), 5000);
} }
} }