Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_view: Fix target_id extraction for id operator.
harsh_0303da227fe9ddc4
diff --git a/web/src/message_view.ts b/web/src/message_view.tsindex bb05076ba82..cb28ccbf720 100644--- a/web/src/message_view.ts+++ b/web/src/message_view.ts@@ -510,7 +510,7 @@ export let show = (raw_terms: NarrowTerm[], show_opts: ShowMessageViewOpts): voiid_info.target_id = Number.parseInt(filter.terms_with_operator("near")[0]!.operand, 10);}if (filter.has_operator("id")) {- id_info.target_id = Number.parseInt(filter.terms_with_operator("near")[0]!.operand, 10);+ id_info.target_id = Number.parseInt(filter.terms_with_operator("id")[0]!.operand, 10);}if (