mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 17:12:45 +08:00
remove "via sitename" from senders
This commit is contained in:
parent
4321c19759
commit
00951e0578
|
@ -150,7 +150,7 @@ class UserNotifications < ActionMailer::Base
|
|||
|
||||
# If we have a display name, change the from address
|
||||
if username.present?
|
||||
email_opts[:from_alias] = I18n.t(:via, username: username, site_name: SiteSetting.title)
|
||||
email_opts[:from_alias] = username
|
||||
end
|
||||
|
||||
build_email(user.email, email_opts)
|
||||
|
|
Loading…
Reference in New Issue
Block a user