diff --git a/modules/mailer/mail.go b/modules/mailer/mail.go index ef7f14393..b23d59f17 100644 --- a/modules/mailer/mail.go +++ b/modules/mailer/mail.go @@ -33,8 +33,7 @@ const ( func NewMailMessageFrom(To []string, from, subject, body string) Message { if setting.MailService.FixedNotifyFrom { return NewHtmlMessage(To, setting.MailService.From, subject, body) - } - else { + } else { return NewHtmlMessage(To, from, subject, body) } }