Skip to content

Commit

Permalink
Fix DABBLE-ME-5D
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Jan 17, 2024
1 parent c97fed7 commit 7e6985a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/email_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def collage_from_attachments(attachments, existing_image_url: nil)
def collage_from_urls(urls)
return nil unless urls.present?

urls.reject! { |url| url.include?("googleusercontent.com/mail-sig/") }
urls.reject! { |url| url&.include?("googleusercontent.com/mail-sig/") }
urls.compact!

if urls.size == 1 && urls.first.starts_with?("http")
Expand Down

0 comments on commit 7e6985a

Please sign in to comment.