Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_profile: Always include current bot owner in bot owner options.
Sahil Batra13eb1381de3f
diff --git a/web/src/user_profile.js b/web/src/user_profile.jsindex 12ae4e86737..01376c58770 100644--- a/web/src/user_profile.js+++ b/web/src/user_profile.js@@ -680,6 +680,11 @@ export function show_edit_bot_info_modal(user_id, $container) {function get_options() {const user_ids = people.get_realm_active_human_user_ids();+ if (!user_ids.includes(bot.bot_owner_id)) {+ // Always include the current bot owner in+ // options, even if the owner is deactivated.+ user_ids.push(bot.bot_owner_id);+ }return user_ids.map((user_id) => ({name: people.get_full_name(user_id),unique_id: user_id,