From 00951e0578ccf472b7bab8eef6cb3967d22b379b Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 12 Sep 2013 15:38:18 +1000 Subject: [PATCH] remove "via sitename" from senders --- app/mailers/user_notifications.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/user_notifications.rb b/app/mailers/user_notifications.rb index 5cea8c80c..e627ccbde 100644 --- a/app/mailers/user_notifications.rb +++ b/app/mailers/user_notifications.rb @@ -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)