mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
Merge pull request #2901 from JKillian/patch-1
Add additional fields that indicate reply
This commit is contained in:
commit
c89064f7c0
@ -151,7 +151,7 @@ module Email
|
|||||||
end
|
end
|
||||||
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}:" })
|
REPLYING_HEADER_REGEX = Regexp.union(REPLYING_HEADER_LABELS.map { |lbl| "#{lbl}:" })
|
||||||
|
|
||||||
def discourse_email_trimmer(body)
|
def discourse_email_trimmer(body)
|
||||||
|
Loading…
Reference in New Issue
Block a user