mirror of
https://github.com/go-gitea/gitea
synced 2025-07-18 00:08:35 +00:00
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user