From 34b7347acaa8fa69df279c7480192adffe94c154 Mon Sep 17 00:00:00 2001 From: Ildar Iskhakov Date: Tue, 9 Jul 2024 22:07:22 +0800 Subject: [PATCH] Update slack_renderer.py --- .../alerts/incident_appearance/renderers/slack_renderer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/apps/alerts/incident_appearance/renderers/slack_renderer.py b/engine/apps/alerts/incident_appearance/renderers/slack_renderer.py index 4930746649..c99d59579e 100644 --- a/engine/apps/alerts/incident_appearance/renderers/slack_renderer.py +++ b/engine/apps/alerts/incident_appearance/renderers/slack_renderer.py @@ -135,7 +135,7 @@ def render_alert_group_attachments(self): if self.alert_group.resolved: resolve_attachment = { "fallback": "Resolved...", - "text": self.alert_group.get_resolve_text(mention_user=True), + "text": self.alert_group.get_resolve_text(mention_user=False), "callback_id": "alert", } attachments.append(resolve_attachment) @@ -143,7 +143,7 @@ def render_alert_group_attachments(self): if self.alert_group.acknowledged: ack_attachment = { "fallback": "Acknowledged...", - "text": self.alert_group.get_acknowledge_text(mention_user=True), + "text": self.alert_group.get_acknowledge_text(mention_user=False), "callback_id": "alert", } attachments.append(ack_attachment)