Update packages/stream_chat/lib/src/ws/websocket.dart
Co-authored-by: Gordon <[email protected]>
This commit is contained in:
co-authored by
Gordon
parent
56b3506da3
commit
8f7908f319
@@ -112,7 +112,6 @@ class WebSocket with TimerHelper {
|
|||||||
if (_webSocketChannel != null) {
|
if (_webSocketChannel != null) {
|
||||||
_closeWebSocketChannel();
|
_closeWebSocketChannel();
|
||||||
}
|
}
|
||||||
// throw Error();
|
|
||||||
_webSocketChannel =
|
_webSocketChannel =
|
||||||
webSocketChannelProvider?.call(uri) ?? WebSocketChannel.connect(uri);
|
webSocketChannelProvider?.call(uri) ?? WebSocketChannel.connect(uri);
|
||||||
_subscribeToWebSocketChannel();
|
_subscribeToWebSocketChannel();
|
||||||
|
|||||||
Reference in New Issue
Block a user