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

Co-authored-by: Gordon <[email protected]>
This commit is contained in:
Salvatore Giordano
2022-03-15 16:16:52 +01:00
committed by GitHub
co-authored by Gordon
parent 56b3506da3
commit 8f7908f319
@@ -112,7 +112,6 @@ class WebSocket with TimerHelper {
if (_webSocketChannel != null) {
_closeWebSocketChannel();
}
// throw Error();
_webSocketChannel =
webSocketChannelProvider?.call(uri) ?? WebSocketChannel.connect(uri);
_subscribeToWebSocketChannel();