chore: filter .xml files for Bandwidth SMS (#4206)
MMS sent from an ATT or Verizon phone number seems to be appending a SMIL file in .xml format for MMS.
This commit is contained in:
parent
b77fad52fb
commit
71391d982b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class Sms::IncomingMessageService
|
|||
|
||||
params[:media].each do |media_url|
|
||||
# we don't need to process this files since chatwoot doesn't support it
|
||||
next if media_url.end_with? '.smil'
|
||||
next if media_url.end_with?('.smil', '.xml')
|
||||
|
||||
attachment_file = Down.download(
|
||||
media_url,
|
||||
|
|
Loading…
Reference in a new issue