Procházet zdrojové kódy

Fix OP not 'participating' until commented

Kim "BKC" Carlbäcker před 9 roky
rodič
revize
2665728ee7
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 {