aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index f4e9b88..6b05062 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2478,6 +2478,10 @@ def process_pong(message_json, eventrouter, **kwargs):
def process_message(message_json, eventrouter, store=True, **kwargs):
channel = kwargs["channel"]
team = kwargs["team"]
+
+ if SlackTS(message_json["ts"]) in channel.messages:
+ return
+
# try:
# send these subtype messages elsewhere
known_subtypes = [