Ignore case when removing mailing list name from subject

This commit is contained in:
Gerhard Schlager 2018-02-12 21:41:58 +01:00
parent 4dfe659189
commit 479f7ed18f
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ module ImportScripts::Mbox
# TODO: make the list name (or maybe multiple names) configurable
# Strip mailing list name from subject
subject = subject.gsub(/\[#{Regexp.escape(list_name)}\]/, '').strip
subject = subject.gsub(/\[#{Regexp.escape(list_name)}\]/i, '').strip
clean_subject(subject)
end