Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Oct 19, 2023
1 parent ce0c046 commit 0a0ed79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/smithereen/controllers/WallController.java
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ public PaginatedList<PostViewModel> getReplies(@Nullable User self, List<Integer
public PaginatedList<Post> getRepliesExact(@Nullable User self, List<Integer> key, int maxID, int count){
try{
PaginatedList<Post> posts=PostStorage.getRepliesExact(key.stream().mapToInt(Integer::intValue).toArray(), maxID, count);
posts.list=new ArrayList<>(posts.list);
context.getPrivacyController().filterPosts(self, posts.list);
return posts;
}catch(SQLException x){
Expand Down

0 comments on commit 0a0ed79

Please sign in to comment.