mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
First stab at polling support for POP3S / reply by email
This commit is contained in:
@@ -55,6 +55,9 @@ module Email
|
||||
result['List-Unsubscribe'] = "<#{template_args[:user_preferences_url]}>" if @opts[:add_unsubscribe_link]
|
||||
end
|
||||
|
||||
result['Discourse-Post-Id'] = @opts[:post_id].to_s if @opts[:post_id]
|
||||
result['Discourse-Topic-Id'] = @opts[:topic_id].to_s if @opts[:topic_id]
|
||||
|
||||
if allow_reply_by_email?
|
||||
result['Discourse-Reply-Key'] = reply_key
|
||||
result['Reply-To'] = reply_by_email_address
|
||||
|
||||
Reference in New Issue
Block a user