Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Do not unfurl links or media in Slack notifications (#958)

Staci Cooperd047daeb43b4
diff --git a/ingestion_server/ingestion_server/slack.py b/ingestion_server/ingestion_server/slack.py
index 3325a6ada..e4ff1fcef 100644
--- a/ingestion_server/ingestion_server/slack.py
+++ b/ingestion_server/ingestion_server/slack.py
@@ -50,6 +50,8 @@ def _message(text: str, summary: str = None, level: Level = Level.INFO) -> None:
"text": summary,
"username": f"Data Refresh Notification | {environment.upper()}",
"icon_emoji": "arrows_counterclockwise",
+ "unfurl_links": False,
+ "unfurl_media": False,
}
try:
requests.post(webhook, json=data)