Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_info_popover: Not displaying "Manage this bot" for system bots.
Yogesh Sirsat544b88e7ecb6
diff --git a/static/js/popovers.js b/static/js/popovers.jsindex 399b575132d..bd54ffca801 100644--- a/static/js/popovers.js+++ b/static/js/popovers.js@@ -208,6 +208,7 @@ function render_user_info_popover(const muting_allowed = !is_me && !user.is_bot;const is_active = people.is_active_user_for_popover(user.user_id);const is_muted = muted_users.is_user_muted(user.user_id);+ const is_system_bot = user.is_system_bot;const status_text = user_status.get_status_text(user.user_id);const status_emoji_info = user_status.get_status_emoji(user.user_id);@@ -227,7 +228,7 @@ function render_user_info_popover(const args = {invisible_mode,can_mute: muting_allowed && !is_muted,- can_manage_user: page_params.is_admin && !is_me,+ can_manage_user: page_params.is_admin && !is_me && !is_system_bot,can_send_private_message:is_active &&!is_me &&@@ -260,7 +261,6 @@ function render_user_info_popover(};if (user.is_bot) {- const is_system_bot = user.is_system_bot;const bot_owner_id = user.bot_owner_id;if (is_system_bot) {args.is_system_bot = is_system_bot;