浏览代码

Fix OP not 'participating' until commented

Kim "BKC" Carlbäcker 9 年之前
父节点
当前提交
2665728ee7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      routers/repo/issue.go

+ 1 - 0
routers/repo/issue.go

@@ -595,6 +595,7 @@ func ViewIssue(ctx *middleware.Context) {
 		comment      *models.Comment
 		participants []*models.User
 	)
+	participants = append(participants, issue.Poster)
 	// Render comments. (and fetch participants)
 	for _, comment = range issue.Comments {
 		if comment.Type == models.COMMENT_TYPE_COMMENT {