diff --git a/web/src/hotkey.js b/web/src/hotkey.js index 4176bc7399..ce61bf8561 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 message switch (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;