conversas nao começarem com pendentes
This commit is contained in:
parent
0d5ad5240e
commit
0e19a0e93a
@ -276,7 +276,7 @@ class Conversation < ApplicationRecord
|
|||||||
return handle_campaign_status if campaign.present?
|
return handle_campaign_status if campaign.present?
|
||||||
|
|
||||||
# TODO: make this an inbox config instead of assuming bot conversations should start as pending
|
# TODO: make this an inbox config instead of assuming bot conversations should start as pending
|
||||||
self.status = :pending if inbox.active_bot?
|
# self.status = :pending if inbox.active_bot?
|
||||||
end
|
end
|
||||||
|
|
||||||
def handle_campaign_status
|
def handle_campaign_status
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user