[LLC, Persistence] Use pagination options instead of single filter
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -20,7 +20,7 @@ abstract class ChatPersistenceClient {
|
||||
/// Get stored replies by messageId
|
||||
Future<List<Message>> getReplies(
|
||||
String parentId, {
|
||||
String lessThan,
|
||||
PaginationParams options,
|
||||
});
|
||||
|
||||
/// Get stored connection event
|
||||
|
||||
Reference in New Issue
Block a user