Optimize participant-fetching
This commit is contained in:
parent
b921161666
commit
f65dedc3be
1 changed files with 1 additions and 0 deletions
|
@ -623,6 +623,7 @@ func ViewIssue(ctx *middleware.Context) {
|
||||||
for j := range participants {
|
for j := range participants {
|
||||||
if comment.Poster == participants[j] {
|
if comment.Poster == participants[j] {
|
||||||
already_added = true
|
already_added = true
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !already_added {
|
if !already_added {
|
||||||
|
|
Reference in a new issue