From 84baff7681a3c06bac56fc7088720378666d7cd8 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Mon, 15 May 2023 15:35:57 +0200 Subject: [PATCH] fix compile error --- plugins/websocket/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/websocket/src/lib.rs b/plugins/websocket/src/lib.rs index 1f06da32..55676e12 100644 --- a/plugins/websocket/src/lib.rs +++ b/plugins/websocket/src/lib.rs @@ -86,7 +86,7 @@ async fn connect( config: Option, ) -> Result { let id = rand::random(); - let (ws_stream, _) = connect_async_with_config(url, config.map(Into::into)).await?; + let (ws_stream, _) = connect_async_with_config(url, config.map(Into::into), false).await?; tauri::async_runtime::spawn(async move { let (write, read) = ws_stream.split();