summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-20 17:53:28 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-26 17:55:54 +0100
commit2665728ee75c05be3555c683ada3b5a1e60a83da (patch)
treefc684b6a4c515148f74dec72e0ea7b0f2bc96045
parentf65dedc3becf902271db1d55b6951a40c9602140 (diff)
downloadgitea-2665728ee75c05be3555c683ada3b5a1e60a83da.tar.gz
gitea-2665728ee75c05be3555c683ada3b5a1e60a83da.zip
Fix OP not 'participating' until commented
-rw-r--r--routers/repo/issue.go1
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 {