Merge pull request #2901 from JKillian/patch-1

Add additional fields that indicate reply
This commit is contained in:
Robin Ward 2014-11-10 15:44:14 -05:00
commit c89064f7c0
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ module Email
end
end
REPLYING_HEADER_LABELS = ['From', 'Sent', 'To', 'Subject', 'Reply To']
REPLYING_HEADER_LABELS = ['From', 'Sent', 'To', 'Subject', 'Reply To', 'Cc', 'Bcc', 'Date']
REPLYING_HEADER_REGEX = Regexp.union(REPLYING_HEADER_LABELS.map { |lbl| "#{lbl}:" })
def discourse_email_trimmer(body)