Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
hotkey: Avoid checking message_lists.current for `narrow_private`.
Aman Agrawal861acb9abdf0
diff --git a/web/src/hotkey.js b/web/src/hotkey.jsindex 4176bc73996..ce61bf85614 100644--- a/web/src/hotkey.js+++ b/web/src/hotkey.js@@ -929,9 +929,8 @@ export function process_hotkey(e, hotkey) {// Shortcuts that don't require a messageswitch (event_name) {case "narrow_private":- return do_narrow_action((_target, opts) => {- narrow.by("is", "dm", opts);- });+ narrow.by("is", "dm", {trigger: "hotkey"});+ return true;case "query_streams":stream_list.initiate_search();return true;