Merge branch 'master' into develop

This commit is contained in:
Salvatore Giordano
2021-03-02 11:52:42 +01:00
21 changed files with 187 additions and 59 deletions
+4
View File
@@ -1,3 +1,7 @@
## 1.3.2+1-beta
- Fixed queryChannels bug
## 1.3.1-beta
- Debounced frequent db calls
@@ -1692,11 +1692,14 @@ class ChannelClientState {
set _channelState(ChannelState v) {
_channelStateController.add(v);
debounce(
timeout: Duration(milliseconds: 500),
target: _channel._client.chatPersistenceClient?.updateChannelState,
positionalArguments: [v],
);
if (_channel._client.persistenceEnabled) {
debounce(
timeout: Duration(milliseconds: 500),
target: _channel._client.chatPersistenceClient?.updateChannelState,
positionalArguments: [v],
);
}
}
/// The channel threads related to this channel
+3 -1
View File
@@ -611,7 +611,9 @@ class StreamChatClient {
options: options,
paginationParams: paginationParams,
messageLimit: messageLimit,
);
).whenComplete(() {
_queryChannelsStreams.remove(hash);
});
_queryChannelsStreams[hash] = newQueryChannelsFuture;
+2 -2
View File
@@ -1,5 +1,5 @@
import 'package:stream_chat/src/client.dart';
/// Current package version
/// Used in [StreamChatClient] to build the `X-Stream-Client` header
const PACKAGE_VERSION = '1.3.1-beta';
/// Used in [StreamChatClient] to build the `x-stream-client` header
const PACKAGE_VERSION = '1.3.2+1-beta';
+1 -1
View File
@@ -1,7 +1,7 @@
name: stream_chat
homepage: https://getstream.io/
description: The official Dart client for Stream Chat, a service for building chat applications.
version: 1.3.1-beta
version: 1.3.2+1-beta
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues