Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

hotkey: Fix argument type for narrow filter.

Pratik Chandaf9dc13014f52
diff --git a/web/src/hotkey.js b/web/src/hotkey.js
index 14eb6c87d4d..acf435ec4e5 100644
--- a/web/src/hotkey.js
+++ b/web/src/hotkey.js
@@ -1450,7 +1450,7 @@ export function process_hotkey(e, hotkey) {
message_view.show(
[
{operator: "dm", operand: msg.reply_to},
- {operator: "near", operand: msg.id},
+ {operator: "near", operand: String(msg.id)},
],
{trigger: "hotkey"},
);
@@ -1463,7 +1463,7 @@ export function process_hotkey(e, hotkey) {
operand: msg.stream_id.toString(),
},
{operator: "topic", operand: msg.topic},
- {operator: "near", operand: msg.id},
+ {operator: "near", operand: String(msg.id)},
],
{trigger: "hotkey"},
);