[LLC, Persistence] Use pagination options instead of single filter

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-28 19:51:48 +05:30
parent 86a122aa23
commit db275bfa71
4 changed files with 7 additions and 7 deletions
@@ -489,7 +489,7 @@ class Channel {
}) async {
final cachedReplies = await _client.chatPersistenceClient?.getReplies(
parentId,
lessThan: options?.lessThan,
options: options,
);
if (cachedReplies != null && cachedReplies.isNotEmpty) {
state?.updateThreadInfo(parentId, cachedReplies);