Compare commits

...

1 commit

Author SHA1 Message Date
Pranav Raj S cdcc9523d4 fix: Disable active automation_rule_listener 2022-02-25 12:39:43 +05:30

View file

@ -45,7 +45,8 @@ class AutomationRuleListener < BaseListener
@rules = AutomationRule.where(
event_name: event_name,
account_id: conversation.account_id
account_id: conversation.account_id,
active: true
)
@rules.any?
end