chore: Allow Facebook channel to receive standby messages (#4511)

This commit is contained in:
Tejaswini Chile
2022-04-28 01:14:03 +05:30
committed by GitHub
parent 8348392d43
commit cb38ec3267
3 changed files with 16 additions and 11 deletions

View File

@@ -34,7 +34,11 @@ class Integrations::Slack::IncomingMessageBuilder
end
def supported_message?
SUPPORTED_MESSAGE_TYPES.include?(message[:type]) if message.present?
if message.present?
SUPPORTED_MESSAGE_TYPES.include?(message[:type])
else
params[:event][:files].any?
end
end
def hook_verification?