chore: Move Facebook event processing to worker (#2988)
This commit is contained in:
@@ -22,6 +22,7 @@ class Integrations::Facebook::MessageCreator
|
||||
private
|
||||
|
||||
def agent_message_via_echo?
|
||||
# TODO : check and remove send_from_chatwoot_app if not working
|
||||
response.echo? && !response.sent_from_chatwoot_app?
|
||||
# this means that it is an agent message from page, but not sent from chatwoot.
|
||||
# User can send from fb page directly on mobile / web messenger, so this case should be handled as agent message
|
||||
|
||||
Reference in New Issue
Block a user