Merge pull request #1082 from GetStream/hotfix/userReconnectionBug
fix(llc): fix reconnection
This commit is contained in:
@@ -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
|
## 3.6.0
|
||||||
|
|
||||||
🐞 Fixed
|
🐞 Fixed
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ class WebSocket with TimerHelper {
|
|||||||
final token = await tokenManager.loadToken(refresh: refreshToken);
|
final token = await tokenManager.loadToken(refresh: refreshToken);
|
||||||
final params = {
|
final params = {
|
||||||
'user_id': user.id,
|
'user_id': user.id,
|
||||||
if (includeUserDetails) 'user_details': user,
|
'user_details': includeUserDetails ? user : {'id': user.id},
|
||||||
'user_token': token.rawValue,
|
'user_token': token.rawValue,
|
||||||
'server_determines_connection_id': true,
|
'server_determines_connection_id': true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user