diff options
author | Unknwon <u@gogs.io> | 2016-08-11 06:17:45 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-11 06:17:45 -0700 |
commit | 0f26f3678ac2471b8d94770c3446d76220d9531b (patch) | |
tree | f68b96072d0d1e1f4732eef35789925faa8b4aee | |
parent | 6a81632e36a1ba36d315059cfb69c063cab237f1 (diff) | |
download | gitea-0f26f3678ac2471b8d94770c3446d76220d9531b.tar.gz gitea-0f26f3678ac2471b8d94770c3446d76220d9531b.zip |
#3279 use doer email for FROM field of issues
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | models/mail.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) -##### Current tip version: 0.9.71 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions) +##### Current tip version: 0.9.72 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions) | Web | UI | Preview | |:-------------:|:-------:|:-------:| @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.71.0809" +const APP_VER = "0.9.72.0811" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/models/mail.go b/models/mail.go index 6daf84f231..1311ac2ed2 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.NewMessage(tos, subject, content) + msg := mailer.NewMessageFrom(tos, doer.Email, subject, content) msg.Info = fmt.Sprintf("Subject: %s, %s", subject, info) return msg } diff --git a/templates/.VERSION b/templates/.VERSION index 9e9f5d12b5..b7b3158c07 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.71.0809
\ No newline at end of file +0.9.72.0811
\ No newline at end of file |