fix stackoverflow bug

This commit is contained in:
Salvatore Giordano
2021-02-25 11:19:56 +01:00
parent 75cdaaf062
commit 628ec27b77
9 changed files with 521 additions and 7 deletions
+1 -1
View File
@@ -890,7 +890,7 @@ class StreamChatClient {
String get _authType => _anonymous ? 'anonymous' : 'jwt';
String get _userAgent =>
'stream-chat-dart-client-${Platform.name}-${PACKAGE_VERSION.split('+')[0]}';
'stream-chat-dart-client-${CurrentPlatform.name}-${PACKAGE_VERSION.split('+')[0]}';
Map<String, String> get _commonQueryParams => {
'user_id': state.user?.id,