Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
hotkey: Disable user search hotkey for spectators.
Aman Agrawal6daf130a4298
diff --git a/web/src/hotkey.js b/web/src/hotkey.jsindex 6f2e066be96..f5717644b71 100644--- a/web/src/hotkey.js+++ b/web/src/hotkey.js@@ -1016,6 +1016,9 @@ export function process_hotkey(e, hotkey) {}return true;case "query_users":+ if (page_params.is_spectator) {+ return false;+ }activity_ui.initiate_search();return true;case "search":