diff options
-rw-r--r-- | wee_slack.py | 4 |
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 = [ |