Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations: Improve Slack integrations setup notification.
PieterCK059782bb9f3c
diff --git a/zerver/webhooks/slack/view.py b/zerver/webhooks/slack/view.pyindex 81a1245d8e5..34f0dd9eaa4 100644--- a/zerver/webhooks/slack/view.py+++ b/zerver/webhooks/slack/view.py@@ -20,7 +20,7 @@ from zerver.lib.request import RequestVariableMissingErrorfrom zerver.lib.response import json_successfrom zerver.lib.typed_endpoint import typed_endpointfrom zerver.lib.validator import WildValue, check_none_or, check_string, to_wild_value-from zerver.lib.webhooks.common import check_send_webhook_message+from zerver.lib.webhooks.common import check_send_webhook_message, get_setup_webhook_messagefrom zerver.models import UserProfileFILE_LINK_TEMPLATE = "\n*[{file_name}]({file_link})*"@@ -234,7 +234,7 @@ def api_slack_webhook(request,user_profile,"Integration events",- "Successfully verified webhook URL with Slack!",+ get_setup_webhook_message("Slack"),)return json_success(request=request, data={"challenge": challenge})