Browse Source

Optimize participant-fetching

Kim Carlbäcker 9 năm trước cách đây
mục cha
commit
f65dedc3be
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      routers/repo/issue.go

+ 1 - 0
routers/repo/issue.go

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