Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/stream_chat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

🐞 Fixed
- `Null check operator used on a null value` in Websocket connect.
- Ensure query cache is cleared when refreshing channel queries.

## 9.10.0

Expand Down
3 changes: 2 additions & 1 deletion packages/stream_chat/lib/src/client/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,8 @@ class StreamChatClient {
await chatPersistenceClient?.updateChannelQueries(
filter,
channels.map((c) => c.channel!.cid).toList(),
clearQueryCache: paginationParams.offset == 0,
// Clear the query cache if we are refreshing.
clearQueryCache: (paginationParams.offset ?? 0) == 0,
);

this.state.addChannels(updateData.key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
record_linux
sqlite3_flutter_libs
url_launcher_linux
volume_controller
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down