Set X-Entity-Ref-ID header on notification emails
This disables threading in gmail completely - without it all notifications of a given type are grouped together.
This commit is contained in:
parent
a336bb9067
commit
6c22bf4b9a
1 changed files with 3 additions and 1 deletions
|
@ -218,7 +218,9 @@ class Notifier < ApplicationMailer
|
|||
|
||||
def set_references(scope, reference_object)
|
||||
ref = "osm-#{scope}-#{reference_object.id}@#{Settings.server_url}"
|
||||
|
||||
headers["X-Entity-Ref-ID"] = ref
|
||||
headers["In-Reply-To"] = ref
|
||||
headers["References"] = ref
|
||||
headers["References"] = ref
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue