Merge pull request #1082 from GetStream/hotfix/userReconnectionBug

fix(llc): fix reconnection
This commit is contained in:
Salvatore Giordano
2022-04-14 09:49:25 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
## Upcoming
🐞 Fixed
- [[#1081]](https://github.com/GetStream/stream-chat-flutter/issues/1081) Fixed a bug with user reconnection.
## 3.6.0
🐞 Fixed
@@ -155,7 +155,7 @@ class WebSocket with TimerHelper {
final token = await tokenManager.loadToken(refresh: refreshToken);
final params = {
'user_id': user.id,
if (includeUserDetails) 'user_details': user,
'user_details': includeUserDetails ? user : {'id': user.id},
'user_token': token.rawValue,
'server_determines_connection_id': true,
};