Change all headers to X-Discourse-* instead of Discourse-*

This commit is contained in:
Robin Ward
2013-06-18 15:54:02 -04:00
parent 60fce196c7
commit 8af9952b25
6 changed files with 20 additions and 17 deletions

View File

@@ -47,9 +47,9 @@ module Email
user_id: @user.try(:id))
email_log.post_id = @messager
add_header_to_log('Discourse-Reply-Key', email_log, :reply_key)
add_header_to_log('Discourse-Post-Id', email_log, :post_id)
add_header_to_log('Discourse-Topic-Id', email_log, :topic_id)
add_header_to_log('X-Discourse-Reply-Key', email_log, :reply_key)
add_header_to_log('X-Discourse-Post-Id', email_log, :post_id)
add_header_to_log('X-Discourse-Topic-Id', email_log, :topic_id)
email_log.save!
email_log