This commit is contained in:
Unknwon 2015-07-10 16:51:25 +08:00
parent eb0f0710f0
commit 35be8741c4
3 changed files with 3 additions and 2 deletions

View file

@ -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)