mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
FEATURE: Use email_site_title in From of digest emails
This commit is contained in:
parent
c0a8bb9a91
commit
858a456aaf
@ -235,7 +235,7 @@ class UserNotifications < ActionMailer::Base
|
||||
@preheader_text = I18n.t('user_notifications.digest.preheader', last_seen_at: @last_seen_at)
|
||||
|
||||
opts = {
|
||||
from_alias: I18n.t('user_notifications.digest.from', site_name: SiteSetting.title),
|
||||
from_alias: I18n.t('user_notifications.digest.from', site_name: Email.site_title),
|
||||
subject: I18n.t('user_notifications.digest.subject_template', email_prefix: @email_prefix, date: short_date(Time.now)),
|
||||
add_unsubscribe_link: true,
|
||||
unsubscribe_url: "#{Discourse.base_url}/email/unsubscribe/#{@unsubscribe_key}",
|
||||
|
Loading…
Reference in New Issue
Block a user