Fix OP not 'participating' until commented
This commit is contained in:
parent
f65dedc3be
commit
2665728ee7
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue