Merge branch 'v4' into release/4.0.0-beta.2

This commit is contained in:
Salvatore Giordano
2022-04-14 10:06:12 +02:00
4 changed files with 17 additions and 1 deletions
+7
View File
@@ -10,6 +10,7 @@
- [[#1054]](https://github.com/GetStream/stream-chat-flutter/issues/1054) Fix `Unsupported operation: Cannot remove from an unmodifiable list`.
- [[#1033]](https://github.com/GetStream/stream-chat-flutter/issues/1033) Hard delete from dashboard does not delete message from client.
- Send only `user_id` while reconnecting.
- [[#1081]](https://github.com/GetStream/stream-chat-flutter/issues/1081) Fixed a bug with user reconnection.
✅ Added
@@ -26,6 +27,12 @@
- Minor fixes and improvements.
## 3.6.1
🐞 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,
};