mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
use a variable to set the header
This commit is contained in:
@ -70,7 +70,8 @@ module Email
|
|||||||
@message.header['References'] = topic_identifier
|
@message.header['References'] = topic_identifier
|
||||||
|
|
||||||
# http://www.ietf.org/rfc/rfc2919.txt
|
# http://www.ietf.org/rfc/rfc2919.txt
|
||||||
@message.header['List-ID'] = "<topic.#{topic_id}.#{host}>"
|
list_id = "<topic.#{topic_id}.#{host}>"
|
||||||
|
@message.header['List-ID'] = list_id
|
||||||
# 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
|
end
|
||||||
|
Reference in New Issue
Block a user