fix: slack attachments

This commit is contained in:
Muhsin Keloth
2023-08-10 13:57:49 +05:30
parent 8fe4ebde9b
commit daef6e0d17
@@ -36,7 +36,7 @@ class Integrations::Slack::IncomingMessageBuilder
def should_process_event?
return true if params[:type] != 'event_callback'
params[:event][:user].present? && params[:event][:subtype].blank?
params[:event][:user].present? && (params[:event][:subtype].blank? || params[:event][:subtype] == 'file_share')
end
def supported_event?