From c741cdc19ef49ccad9aec249ab92f287c3ac66e4 Mon Sep 17 00:00:00 2001 From: colinsl <44621864+colinsl@users.noreply.github.com> Date: Tue, 11 Jun 2024 18:57:53 -0700 Subject: [PATCH] [HACK-2024] Add Workaround for Bot Thread Response Allow threaded reply for bot --- omnibot/services/slack/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnibot/services/slack/message.py b/omnibot/services/slack/message.py index 00799c0..ffa2b4f 100644 --- a/omnibot/services/slack/message.py +++ b/omnibot/services/slack/message.py @@ -67,7 +67,7 @@ def _check_unsupported(self): logger.debug("ignoring message from slackbot", extra=self.event_trace) unsupported = True # Ignore threads - elif self.thread_ts: + elif self.thread_ts and not self._payload.get("bot", {}).get("bot_id") == "A06SS17UFFW": logger.debug("ignoring thread message", extra=self.event_trace) unsupported = True # For now, ignore all event subtypes