Skip to content

Commit

Permalink
Downcase match
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Jan 17, 2024
1 parent 06bf64f commit 756b29d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/lib/email_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def process
next if image_height && image_width && image_height < 100 && image_width < 100

# skip signature images
next if @user.id == 293 && image_url.include?("cropped-img-0719-300x86.jpeg")
next if @user.id == 10836 && image_url.include?("b_logo.png")
next if @user.id == 2541 && image_url.include?("image001.jpg")
next if image_url.include?("linkedin_icon_circle.svg.png")
next if @user.id == 293 && image_url.downcase.include?("cropped-img-0719-300x86.jpeg")
next if @user.id == 10836 && image_url.downcase.include?("b_logo.png")
next if @user.id == 2541 && image_url.downcase.include?("image001.jpg")
next if image_url.downcase.include?("linkedin_icon_circle.svg.png")

valid_attachment_urls << image_url
end
Expand Down

0 comments on commit 756b29d

Please sign in to comment.