mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05: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 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 a new issue