Skip to content

Commit

Permalink
[HACK-2024] Add Workaround for Bot Thread Response
Browse files Browse the repository at this point in the history
Allow threaded reply for bot
  • Loading branch information
colinsl authored Jun 12, 2024
1 parent 744b246 commit c741cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnibot/services/slack/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c741cdc

Please sign in to comment.