1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

Fix OP not 'participating' until commented

This commit is contained in:
Kim "BKC" Carlbäcker 2016-01-20 17:53:28 +01:00
parent f65dedc3be
commit 2665728ee7

View file

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