mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-28 16:06:28 +01:00
fix: chat end type (#280)
* fix: chat end type * docs: update release notes
This commit is contained in:
@@ -128,7 +128,7 @@ pub async fn connect_to_server(
|
||||
msg = ws.next() => {
|
||||
match msg {
|
||||
Some(Ok(Message::Text(text))) => {
|
||||
//println!("Received message: {}", text);
|
||||
println!("Received message: {}", text);
|
||||
let _ = app_handle_clone.emit("ws-message", text);
|
||||
},
|
||||
Some(Err(WsError::ConnectionClosed)) => {
|
||||
|
||||
Reference in New Issue
Block a user