From 58665edb4bca53adcdf6bfab6cd5b94d6e06b8fb Mon Sep 17 00:00:00 2001 From: Sylvia McLaughlin <85905333+sylviamclaughlin@users.noreply.github.com> Date: Sat, 5 Oct 2024 01:11:10 +0000 Subject: [PATCH] Formatting --- app/modules/incident/incident_conversation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/modules/incident/incident_conversation.py b/app/modules/incident/incident_conversation.py index ee4cc2dd..608db5d5 100644 --- a/app/modules/incident/incident_conversation.py +++ b/app/modules/incident/incident_conversation.py @@ -203,6 +203,7 @@ def handle_reaction_added(client, ack, body, logger): message = slack_users.replace_user_id_with_handle( client, message["text"] ) + # if the message already exists in the timeline, then don't put it there again if content and message_date_time not in content: # append the new message to the content