|
@@ -853,6 +853,7 @@ func Comment(ctx *middleware.Context) {
|
|
RepoID: ctx.Repo.Repository.Id,
|
|
RepoID: ctx.Repo.Repository.Id,
|
|
RepoUserName: ctx.Repo.Owner.LowerName,
|
|
RepoUserName: ctx.Repo.Owner.LowerName,
|
|
RepoName: ctx.Repo.Repository.LowerName,
|
|
RepoName: ctx.Repo.Repository.LowerName,
|
|
|
|
+ IsPrivate: ctx.Repo.Repository.IsPrivate,
|
|
}
|
|
}
|
|
if err = models.NotifyWatchers(act); err != nil {
|
|
if err = models.NotifyWatchers(act); err != nil {
|
|
send(500, nil, err)
|
|
send(500, nil, err)
|