mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
hotkey: Fix argument type for narrow filter.
This commit fixes the operand argument type passed in for showing message list.
This commit is contained in:
committed by
Aman Agrawal
parent
bcdc2bd491
commit
f9dc13014f
@@ -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"},
|
||||
);
|
||||
|
Reference in New Issue
Block a user