mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
only set List-Post if reply via email is on
This commit is contained in:
parent
beaa145572
commit
c4d8d80b07
@ -73,6 +73,9 @@ module Email
|
|||||||
@message.header['List-ID'] = "<topic.#{topic_id}.#{host}>"
|
@message.header['List-ID'] = "<topic.#{topic_id}.#{host}>"
|
||||||
# can't figure out how to get the current URL of the topic here
|
# can't figure out how to get the current URL of the topic here
|
||||||
#@message.header['List-Archive'] =
|
#@message.header['List-Archive'] =
|
||||||
|
end
|
||||||
|
|
||||||
|
if reply_key.present?
|
||||||
# in github notifications, these fields are identical
|
# in github notifications, these fields are identical
|
||||||
@message.header['List-Post'] = @message.header['Reply-To']
|
@message.header['List-Post'] = @message.header['Reply-To']
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user