Update packages/stream_chat/lib/src/ws/websocket.dart

Co-authored-by: Sacha Arbonel <[email protected]>
This commit is contained in:
Salvatore Giordano
2022-03-15 18:24:58 +01:00
committed by GitHub
co-authored by Sacha Arbonel
parent 935f4bcc03
commit 8847a0b0bb
@@ -112,7 +112,6 @@ class WebSocket with TimerHelper {
if (_webSocketChannel != null) {
_closeWebSocketChannel();
}
// throw Error();
_webSocketChannel =
webSocketChannelProvider?.call(uri) ?? WebSocketChannel.connect(uri);
_subscribeToWebSocketChannel();