summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-11 06:17:45 -0700
committerUnknwon <u@gogs.io>2016-08-11 06:17:45 -0700
commit0f26f3678ac2471b8d94770c3446d76220d9531b (patch)
treef68b96072d0d1e1f4732eef35789925faa8b4aee
parent6a81632e36a1ba36d315059cfb69c063cab237f1 (diff)
downloadgitea-0f26f3678ac2471b8d94770c3446d76220d9531b.tar.gz
gitea-0f26f3678ac2471b8d94770c3446d76220d9531b.zip
#3279 use doer email for FROM field of issues
-rw-r--r--README.md2
-rw-r--r--gogs.go2
-rw-r--r--models/mail.go2
-rw-r--r--templates/.VERSION2
4 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 8faeb437df..b0f27d9d6c 100644
--- a/README.md
+++ b/README.md
@@ -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 |
|:-------------:|:-------:|:-------:|
diff --git a/gogs.go b/gogs.go
index 076a876a54..679f1236c3 100644
--- a/gogs.go
+++ b/gogs.go
@@ -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