From afea1c44c652923ec05231b3bab31791c92ce6b4 Mon Sep 17 00:00:00 2001 From: aakashb95 Date: Fri, 16 Jan 2026 14:16:35 +0530 Subject: [PATCH] fix: simplify if conditions for template --- app/models/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/message.rb b/app/models/message.rb index 7d60203bb..5cc3de2c3 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -314,7 +314,7 @@ class Message < ApplicationRecord set_conversation_activity dispatch_create_events send_reply - execute_message_template_hooks unless human_response? || activity? + execute_message_template_hooks if incoming? update_contact_activity end