mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 21:06:16 +00:00
rows: Make errors fatal in id, local_echo_id.
This lets us simplify their types and remove dead error-handling code. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
398c63566e
commit
f39675f061
@@ -75,7 +75,6 @@ function get_message_for_message_content($content: JQuery): Message | undefined
|
||||
return undefined;
|
||||
}
|
||||
const message_id = rows.id($message_row);
|
||||
assert(message_id !== undefined);
|
||||
return message_store.get(message_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user