summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-11-03 09:09:00 +0100
committerGitHub <noreply@github.com>2016-11-03 09:09:00 +0100
commitbc7e92a2b592ef277f388e60b42f916cf111270c (patch)
treedf50b4e503282738310e1ab6fa880e2972c90f2e /models
parentf3321d920d5ade3ba734e506ce63a5f2a418fbf5 (diff)
parente4fe69365f24cc0644968a9664b0904d0195bee1 (diff)
downloadgitea-bc7e92a2b592ef277f388e60b42f916cf111270c.tar.gz
gitea-bc7e92a2b592ef277f388e60b42f916cf111270c.zip
Merge branch 'develop' into title-ui-fix
Diffstat (limited to 'models')
-rw-r--r--models/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/mail.go b/models/mail.go
index 0db21355a8..85f1560b44 100644
--- a/models/mail.go
+++ b/models/mail.go
@@ -160,7 +160,7 @@ func composeIssueMessage(issue *Issue, doer *User, tplName base.TplName, tos []s
if err != nil {
log.Error(3, "HTMLString (%s): %v", tplName, err)
}
- msg := mailer.NewMessageFrom(tos, fmt.Sprintf(`"%s" <%s>`, doer.DisplayName(), setting.MailService.User), subject, content)
+ msg := mailer.NewMessageFrom(tos, fmt.Sprintf(`"%s" <%s>`, doer.DisplayName(), setting.MailService.FromEmail), subject, content)
msg.Info = fmt.Sprintf("Subject: %s, %s", subject, info)
return msg
}