Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

hotkey: Enable spectators to copy via keyboard in web-public channels.

opmkumarea97d1a77a70
diff --git a/web/src/hotkey.js b/web/src/hotkey.js
index acf435ec4e5..20fe20e3548 100644
--- a/web/src/hotkey.js
+++ b/web/src/hotkey.js
@@ -1314,6 +1314,7 @@ export function process_hotkey(e, hotkey) {
"show_lightbox",
"toggle_sender_info",
"edit_message",
+ "copy_with_c",
].includes(event_name)
) {
spectators.login_to_access();