Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
edit_bot_form: Remove stale context parameters.
Prakhar Pratyush7fa8b46c5cd6
diff --git a/web/src/user_profile.ts b/web/src/user_profile.tsindex 2ed41afbbab..f5fa7a3491f 100644--- a/web/src/user_profile.ts+++ b/web/src/user_profile.ts@@ -816,7 +816,6 @@ export function show_edit_bot_info_modal(user_id: number, $container: JQuery): vconst owner_id = bot_user.owner_id;assert(owner_id !== null);- const owner_full_name = people.get_full_name(owner_id);const is_active = people.is_person_active(user_id);assert(bot.is_bot);@@ -828,8 +827,6 @@ export function show_edit_bot_info_modal(user_id: number, $container: JQuery): vuser_role_values: settings_config.user_role_values,disable_role_dropdown: !current_user.is_admin || (bot.is_owner && !current_user.is_owner),bot_avatar_url: bot.avatar_url,- owner_full_name,- current_bot_owner: bot.bot_owner_id,is_incoming_webhook_bot: bot.bot_type === INCOMING_WEBHOOK_BOT_TYPE,});$container.append($(html_body));