Skip to content

Commit

Permalink
chore: added with own children parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
xernobyl committed Mar 11, 2024
1 parent 3dec859 commit 4291946
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/io/getstream/client/ReactionsClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ public CompletableFuture<List<Reaction>> filter(
return reactions.filter(token, lookup, id, filter, limit, kind);
}

public CompletableFuture<List<Reaction>> filter(
LookupKind lookup, String id, Filter filter, Limit limit, String kind, Boolean withOwnChildren)
throws StreamException {
final Token token = buildReactionsToken(secret, TokenAction.READ);
return reactions.filter(token, lookup, id, filter, limit, kind, withOwnChildren);
}

public CompletableFuture<Paginated<Reaction>> paginatedFilter(LookupKind lookup, String id)
throws StreamException {
return paginatedFilter(
Expand Down

0 comments on commit 4291946

Please sign in to comment.