diff --git a/gogs.go b/gogs.go index b33e264bc..ecd93275d 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.6.1.0709 Beta" +const APP_VER = "0.6.1.0710 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 294d3d284..6e88f19ea 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -853,6 +853,7 @@ func Comment(ctx *middleware.Context) { RepoID: ctx.Repo.Repository.Id, RepoUserName: ctx.Repo.Owner.LowerName, RepoName: ctx.Repo.Repository.LowerName, + IsPrivate: ctx.Repo.Repository.IsPrivate, } if err = models.NotifyWatchers(act); err != nil { send(500, nil, err) diff --git a/templates/.VERSION b/templates/.VERSION index 0c504fb44..024953550 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.6.1.0709 Beta \ No newline at end of file +0.6.1.0710 Beta \ No newline at end of file