aboutsummaryrefslogtreecommitdiff
path: root/routers/repo
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/issue.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 294d3d28..6e88f19e 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)