chore: Ensure Template messages work even when bot is connected (#6455)

ref: #5592
This commit is contained in:
Sojan Jose
2023-03-08 18:01:00 +05:30
committed by GitHub
parent 5166fd8948
commit d59fd6b747

View File

@@ -2,7 +2,6 @@ class MessageTemplates::HookExecutionService
pattr_initialize [:message!]
def perform
return if inbox.agent_bot_inbox&.active?
return if conversation.campaign.present?
trigger_templates