1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Optimize participant-fetching

This commit is contained in:
Kim Carlbäcker
2016-01-20 16:16:39 +01:00
committed by Kim "BKC" Carlbäcker
parent b921161666
commit f65dedc3be

View File

@ -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 {