mirror of
https://github.com/gogs/gogs.git
synced 2026-03-18 01:50:35 +01:00
Optimize participant-fetching
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
b921161666
commit
f65dedc3be
@@ -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