diff options
author | Unknwon <u@gogs.io> | 2015-07-10 16:51:25 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-10 16:51:25 +0800 |
commit | 35be8741c4523206aa3bff4aad1dda23847b381e (patch) | |
tree | 4490c401bc78a730afb57f7300d0477aa4fdc151 /routers/repo/issue.go | |
parent | eb0f0710f070eb24cdf4243023eb010451525159 (diff) | |
download | gitea-35be8741c4523206aa3bff4aad1dda23847b381e.tar.gz gitea-35be8741c4523206aa3bff4aad1dda23847b381e.zip |
fix #1112
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r-- | routers/repo/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 294d3d2844..6e88f19eab 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) |