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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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