##// END OF EJS Templates
Allow [#id] as subject to reply by email (#3653)....
Jean-Philippe Lang -
r2917:8267ded518d9
parent child
Show More
@@ -79,8 +79,8 class MailHandler < ActionMailer::Base
79 private
79 private
80
80
81 MESSAGE_ID_RE = %r{^<redmine\.([a-z0-9_]+)\-(\d+)\.\d+@}
81 MESSAGE_ID_RE = %r{^<redmine\.([a-z0-9_]+)\-(\d+)\.\d+@}
82 ISSUE_REPLY_SUBJECT_RE = %r{\[[^\]]+#(\d+)\]}
82 ISSUE_REPLY_SUBJECT_RE = %r{\[[^\]]*#(\d+)\]}
83 MESSAGE_REPLY_SUBJECT_RE = %r{\[[^\]]+msg(\d+)\]}
83 MESSAGE_REPLY_SUBJECT_RE = %r{\[[^\]]*msg(\d+)\]}
84
84
85 def dispatch
85 def dispatch
86 headers = [email.in_reply_to, email.references].flatten.compact
86 headers = [email.in_reply_to, email.references].flatten.compact
General Comments 0
You need to be logged in to leave comments. Login now