diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-01-20 17:53:28 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-01-26 17:55:54 +0100 |
commit | 2665728ee75c05be3555c683ada3b5a1e60a83da (patch) | |
tree | fc684b6a4c515148f74dec72e0ea7b0f2bc96045 | |
parent | f65dedc3becf902271db1d55b6951a40c9602140 (diff) | |
download | gitea-2665728ee75c05be3555c683ada3b5a1e60a83da.tar.gz gitea-2665728ee75c05be3555c683ada3b5a1e60a83da.zip |
Fix OP not 'participating' until commented
-rw-r--r-- | routers/repo/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 88628eab90..80929dd77b 100644 --- a/routers/repo/issue.go +++ b/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 { |