mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Ignore case when removing mailing list name from subject
This commit is contained in:
parent
4dfe659189
commit
479f7ed18f
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ module ImportScripts::Mbox
|
||||||
|
|
||||||
# TODO: make the list name (or maybe multiple names) configurable
|
# TODO: make the list name (or maybe multiple names) configurable
|
||||||
# Strip mailing list name from subject
|
# 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)
|
clean_subject(subject)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue