mirror of https://github.com/zulip/zulip.git
unread_ops: Fix TypeScript noUncheckedIndexedAccess errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
07c220f08b
commit
e134ad1363
|
@ -472,6 +472,7 @@ export function process_unread_messages_event({
|
|||
for (const message_id of message_ids) {
|
||||
const message = message_store.get(message_id);
|
||||
const message_info = message_details[message_id];
|
||||
assert(message_info !== undefined);
|
||||
let mentioned_me_directly;
|
||||
|
||||
if (message) {
|
||||
|
|
Loading…
Reference in New Issue