update dependencies, fix sub comments visibility
This commit is contained in:
@@ -76,7 +76,7 @@ public class CommentManager {
|
||||
|
||||
return commentRepository.findAll(
|
||||
qComment.target.eq(target).and(qComment.parent.eq(parent))
|
||||
.and(qComment.flaggedStatus.eq(FlaggedStatus.NORMAL)).and(qComment.created.before(date)),
|
||||
.and(qComment.flaggedStatus.eq(FlaggedStatus.NORMAL)).and(qComment.created.before(date).or(qComment.author.eq(username))),
|
||||
PageRequest.of(page, size, sort));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user