From f9dc13014f529930b192e77ca03673a5c5a6fb66 Mon Sep 17 00:00:00 2001 From: Pratik Chanda Date: Mon, 18 Aug 2025 20:16:00 +0530 Subject: [PATCH] hotkey: Fix argument type for narrow filter. This commit fixes the operand argument type passed in for showing message list. --- web/src/hotkey.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/hotkey.js b/web/src/hotkey.js index 14eb6c87d4..acf435ec4e 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"}, );