X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eefb42334f6d928081d5d5edbb92e75813666dbb..a22b0c1b64a67e46bcecbce41b07fc7a53fb0632:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index de0ad21d6..a1fde49b3 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -48,7 +48,7 @@ class Notifier < ActionMailer::Base def message_notification(message) common_headers message.recipient from_header message.sender.display_name, "m", message.id, message.digest - subject message.title + subject I18n.t('notifier.message_notification.subject_header', :subject => message.title, :locale => locale) body :to_user => message.recipient.display_name, :from_user => message.sender.display_name, :body => message.body, @@ -105,7 +105,7 @@ private end def from_header(name, type, id, digest) - if domain = APP_CONFIG['messages_domain'] + if domain = MESSAGES_DOMAIN from quote_address_if_necessary("#{name} <#{type}-#{id}-#{digest[0,6]}@#{domain}>", "utf-8") end end