Browse Source

Fix OP not 'participating' until commented

tags/v1.2.0-rc1
Kim "BKC" Carlbäcker 9 years ago
parent
commit
e548934dca
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/issue.go

+ 1
- 0
routers/repo/issue.go View File

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


Loading…
Cancel
Save