Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
actions_popover: Hide "Add emoji reaction" in action menu in spectator mode.
Lalit3e179a2c589a
diff --git a/web/src/popover_menus_data.js b/web/src/popover_menus_data.jsindex bdf5f522041..1314a0998ba 100644--- a/web/src/popover_menus_data.js+++ b/web/src/popover_menus_data.js@@ -101,7 +101,7 @@ export function get_actions_popover_content_context(message_id) {// `media_breakpoints.sm_min`, we need to include the reaction button in the// popover if it is not displayed.const should_display_add_reaction_option =- !message.is_me_message && !is_add_reaction_icon_visible();+ !message.is_me_message && !is_add_reaction_icon_visible() && not_spectator;return {message_id: message.id,