Merge branch 'develop' into release/2.0.0
This commit is contained in:
@@ -426,7 +426,10 @@ class StreamChatClient {
|
|||||||
await queryChannelsOnline(
|
await queryChannelsOnline(
|
||||||
filter: Filter.in_('cid', cids),
|
filter: Filter.in_('cid', cids),
|
||||||
paginationParams: const PaginationParams(limit: 30),
|
paginationParams: const PaginationParams(limit: 30),
|
||||||
).then((_) => sync(cids: cids, lastSyncAt: _lastSyncedAt));
|
);
|
||||||
|
if (persistenceEnabled) {
|
||||||
|
await sync(cids: cids, lastSyncAt: _lastSyncedAt);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
handleEvent(Event(
|
handleEvent(Event(
|
||||||
type: EventType.connectionRecovered,
|
type: EventType.connectionRecovered,
|
||||||
|
|||||||
Reference in New Issue
Block a user