Explorar o código

Optimize participant-fetching

Kim Carlbäcker %!s(int64=9) %!d(string=hai) anos
pai
achega
f65dedc3be
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {