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.

integrations: Remove Slack from `WEBHOOK_SCREENSHOT_CONFIG`.

PieterCKb37d6c701286
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 313798eb7bf..c2c5b95632b 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -700,6 +700,8 @@ NO_SCREENSHOT_WEBHOOKS = (
{"beeminder"}
# Meta integrations - Docs won't have a screenshot
| {"ifttt", "slack_incoming", "zapier"}
+ # Integrations that calls external API endpoints.
+ | {"slack"}
)
hubot_integration_names = {integration.name for integration in HUBOT_INTEGRATIONS}
@@ -848,7 +850,6 @@ WEBHOOK_SCREENSHOT_CONFIG: dict[str, list[WebhookScreenshotConfig]] = {
"rundeck": [WebhookScreenshotConfig("start.json")],
"semaphore": [WebhookScreenshotConfig("pull_request.json")],
"sentry": [WebhookScreenshotConfig("event_for_exception_python.json")],
- "slack": [WebhookScreenshotConfig("message_with_normal_text.json")],
"sonarqube": [WebhookScreenshotConfig("error.json")],
"sonarr": [WebhookScreenshotConfig("sonarr_episode_grabbed.json")],
"splunk": [WebhookScreenshotConfig("search_one_result.json")],