only set List-Post if reply via email is on

This commit is contained in:
Jeff Atwood 2014-06-13 15:49:11 -07:00
parent beaa145572
commit c4d8d80b07
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ module Email
@message.header['List-ID'] = "<topic.#{topic_id}.#{host}>"
# can't figure out how to get the current URL of the topic here
#@message.header['List-Archive'] =
end
if reply_key.present?
# in github notifications, these fields are identical
@message.header['List-Post'] = @message.header['Reply-To']
end