aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index cf2fb49..0ce5026 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -4003,14 +4003,15 @@ def process_pong(message_json, eventrouter, team, channel, metadata):
def process_message(
message_json, eventrouter, team, channel, metadata, history_message=False
):
+ subtype = message_json.get("subtype")
if (
not history_message
+ and not subtype
and "ts" in message_json
and SlackTS(message_json["ts"]) in channel.messages
):
return
- subtype = message_json.get("subtype")
subtype_functions = get_functions_with_prefix("subprocess_")
if "thread_ts" in message_json and "reply_count" not in message_json: