mirror of https://github.com/zulip/zulip.git
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:
parent
4e9c1293e2
commit
9dc1e8ed17
|
@ -70,7 +70,7 @@ export class MessageState {
|
|||
// or took a while to process it, but there is nothing
|
||||
// wrong with our event loop.
|
||||
|
||||
if (!this.received) {
|
||||
if (!this.saw_event) {
|
||||
setTimeout(() => this.maybe_restart_event_loop(), 5000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue