Optimize participant-fetching

tokarchuk/v1.17
Kim Carlbäcker 9 years ago committed by Kim "BKC" Carlbäcker
parent b921161666
commit f65dedc3be
  1. 1
      routers/repo/issue.go

@ -623,6 +623,7 @@ func ViewIssue(ctx *middleware.Context) {
for j := range participants { for j := range participants {
if comment.Poster == participants[j] { if comment.Poster == participants[j] {
already_added = true already_added = true
break
} }
} }
if !already_added { if !already_added {

Loading…
Cancel
Save