mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 16:03:20 +02:00
Optimize participant-fetching
This commit is contained in:
1 parent
b921161666
commit
f65dedc3be
1 file changed
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user