update dependencies, fix sub comments visibility

This commit is contained in:
2024-03-28 10:48:06 +01:00
parent f6aaa6382c
commit a105ea7e93
2 changed files with 6 additions and 9 deletions
@@ -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));
}