fix(llc): fix llc
This commit is contained in:
@@ -328,7 +328,9 @@ class StreamChatClient {
|
|||||||
_chatPersistenceClient = _originalChatPersistenceClient;
|
_chatPersistenceClient = _originalChatPersistenceClient;
|
||||||
await _chatPersistenceClient!.connect(ownUser.id);
|
await _chatPersistenceClient!.connect(ownUser.id);
|
||||||
}
|
}
|
||||||
final connectedUser = await openConnection();
|
final connectedUser = await openConnection(
|
||||||
|
includeUserDetailsInConnectCall: true,
|
||||||
|
);
|
||||||
return state.currentUser = connectedUser;
|
return state.currentUser = connectedUser;
|
||||||
} catch (e, stk) {
|
} catch (e, stk) {
|
||||||
if (e is StreamWebSocketError && e.isRetriable) {
|
if (e is StreamWebSocketError && e.isRetriable) {
|
||||||
@@ -342,7 +344,7 @@ class StreamChatClient {
|
|||||||
|
|
||||||
/// Creates a new WebSocket connection with the current user.
|
/// Creates a new WebSocket connection with the current user.
|
||||||
Future<OwnUser> openConnection({
|
Future<OwnUser> openConnection({
|
||||||
bool includeUserDetailsInConnectCall = true,
|
bool includeUserDetailsInConnectCall = false,
|
||||||
}) async {
|
}) async {
|
||||||
assert(
|
assert(
|
||||||
state.currentUser != null,
|
state.currentUser != null,
|
||||||
|
|||||||
Reference in New Issue
Block a user