Open
Description
there are two types of hooks ..
account hooks -> inbox id should be nil .. works across the account (for example webhooks, slack etc )
inbox hooks -> inbox id is present, work in inbox scope, multiple ones can be present ( example Dialogflow )
the particular line of code is to skip the case where we are checking for an inbox hook, but the message event that was triggered doesn't belong to that inbox.
in the case of Dialogflow, the inbox id should be empty for the hook. hence that line of code shouldn't come into effect since hook.inbox = nil
Metadata
Metadata
Assignees
Labels
No labels