mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: ignore_by_title should match case-insensitive
This commit is contained in:
parent
4af7881cb7
commit
4dc4bc70c8
4 changed files with 6 additions and 4 deletions
|
@ -66,7 +66,7 @@ module Email
|
|||
|
||||
def is_blacklisted?
|
||||
return false if SiteSetting.ignore_by_title.blank?
|
||||
Regexp.new(SiteSetting.ignore_by_title) =~ @mail.subject
|
||||
Regexp.new(SiteSetting.ignore_by_title, Regexp::IGNORECASE) =~ @mail.subject
|
||||
end
|
||||
|
||||
def create_incoming_email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue