mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 17:18:59 +00:00
Optimize participant-fetching
This commit is contained in:
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 {
|
||||
|
|
Loading…
Reference in a new issue