fix recconection bug while using tokenprovider
This commit is contained in:
@@ -278,8 +278,6 @@ class Client {
|
|||||||
httpClient.lock();
|
httpClient.lock();
|
||||||
final userId = state.user.id;
|
final userId = state.user.id;
|
||||||
|
|
||||||
_ws.connectionStatus.removeListener(_connectionStatusListener);
|
|
||||||
|
|
||||||
await _disconnect();
|
await _disconnect();
|
||||||
|
|
||||||
final newToken = await tokenProvider(userId);
|
final newToken = await tokenProvider(userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user