Enhancement: Threaded email replies for a conversation (#885) (#886)

* Added custom Message-ID and In-Reply-To headers for conversation reply emails
* Added new global config for the default domain (This is used in the above headers)
* Added migration to run the config loader to load the new global config value
* The subject of the conversation reply mailer was made static (This is required for threaded emails)
* Added required tests
This commit is contained in:
Sony Mathew
2020-05-22 18:14:18 +05:30
committed by GitHub
parent 11b4b4ea3f
commit 6230f4d796
6 changed files with 58 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
class ReloadConfig < ActiveRecord::Migration[6.0]
def change
ConfigLoader.new.process
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_05_10_112339) do
ActiveRecord::Schema.define(version: 2020_05_22_115645) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"