summaryrefslogtreecommitdiffstats
path: root/modules/mailer/mail.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-13 03:14:43 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-13 03:14:43 -0400
commit9d983f27d69b72f42eeb833cb0f38e78e3819839 (patch)
tree41fe885c7ee0a2ddfca1e3f2c8597b692167ead7 /modules/mailer/mail.go
parent5c2da610a2cfd3fa9666d20739e054c3588b4d05 (diff)
downloadgitea-9d983f27d69b72f42eeb833cb0f38e78e3819839.tar.gz
gitea-9d983f27d69b72f42eeb833cb0f38e78e3819839.zip
go vet
Diffstat (limited to 'modules/mailer/mail.go')
-rw-r--r--modules/mailer/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mailer/mail.go b/modules/mailer/mail.go
index d2bf1310a0..834f4a898a 100644
--- a/modules/mailer/mail.go
+++ b/modules/mailer/mail.go
@@ -152,7 +152,7 @@ func SendIssueMentionMail(user, owner *models.User, repo *models.Repository, iss
}
issueLink := fmt.Sprintf("%s%s/%s/issues/%d", base.AppUrl, owner.Name, repo.Name, issue.Index)
- body := fmt.Sprintf(`%s mentioned you.`)
+ body := fmt.Sprintf(`%s mentioned you.`, user.Name)
subject := fmt.Sprintf("[%s] %s", repo.Name, issue.Name)
content := fmt.Sprintf("%s<br>-<br> <a href=\"%s\">View it on Gogs</a>.", body, issueLink)
msg := NewMailMessageFrom(tos, user.Name, subject, content)