mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
remove "via sitename" from senders
This commit is contained in:
parent
4321c19759
commit
00951e0578
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class UserNotifications < ActionMailer::Base
|
||||||
|
|
||||||
# If we have a display name, change the from address
|
# If we have a display name, change the from address
|
||||||
if username.present?
|
if username.present?
|
||||||
email_opts[:from_alias] = I18n.t(:via, username: username, site_name: SiteSetting.title)
|
email_opts[:from_alias] = username
|
||||||
end
|
end
|
||||||
|
|
||||||
build_email(user.email, email_opts)
|
build_email(user.email, email_opts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue