Merge pull request #242 from GetStream/llc/hotfix/tokenProviderReconnection

Llc/hotfix/token provider reconnection
This commit is contained in:
Salvatore Giordano
2021-01-29 10:12:49 +01:00
committed by GitHub
4 changed files with 6 additions and 4 deletions
+4
View File
@@ -1,3 +1,7 @@
## 0.2.24+2
- Fix reconnection bug while using tokenProvider
## 0.2.24+1
- Stop ws reconnection after calling disconnect
-2
View File
@@ -278,8 +278,6 @@ class Client {
httpClient.lock();
final userId = state.user.id;
_ws.connectionStatus.removeListener(_connectionStatusListener);
await _disconnect();
final newToken = await tokenProvider(userId);
+1 -1
View File
@@ -2,4 +2,4 @@ import 'package:stream_chat/src/client.dart';
/// Current package version
/// Used in [Client] to build the `x-stream-client` header
const PACKAGE_VERSION = '0.2.24+1';
const PACKAGE_VERSION = '0.2.24+2';
+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: 0.2.24+1
version: 0.2.24+2
repository: https://github.com/GetStream/stream-chat-dart
issue_tracker: https://github.com/GetStream/stream-chat-dart/issues