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.

bot: Set Incoming webhook the default bot type.

Kartikay Nustureaead403f6651
diff --git a/web/src/settings_bots.ts b/web/src/settings_bots.ts
index 88016c06ee1..c45cd9cce23 100644
--- a/web/src/settings_bots.ts
+++ b/web/src/settings_bots.ts
@@ -305,6 +305,7 @@ export function add_a_new_bot(): void {
}
function set_up_form_fields(): void {
+ $("#create_bot_type").val(INCOMING_WEBHOOK_BOT_TYPE);
$("#payload_url_inputbox").hide();
$("#create_payload_url").val("");
$("#service_name_list").hide();