1
0
Fork 0
forked from forgejo/forgejo
Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
Jonas Franz 2018-05-12 10:53:38 +02:00
parent bc9359222a
commit 58fb672d0d
No known key found for this signature in database
GPG key ID: 506AEEBE80BEDECD
2 changed files with 7 additions and 7 deletions

View file

@ -818,7 +818,7 @@ func fetchCodeComments(e Engine, issue *Issue, currentUser *User) (map[string]ma
// If the review is pending only the author can see the comments
if re.Type == ReviewTypePending &&
(currentUser == nil || currentUser.ID != re.ReviewerID) {
continue
continue
}
comment.Review = re
}