mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-29 00:24:46 +01:00
fix: the chat scrolling and chat rendering (#282)
* fix: the chat scrolling and chat rendering * docs: update release notes
This commit is contained in:
@@ -589,6 +589,7 @@ fn test_trim_endpoint_last_forward_slash() {
|
||||
version: Version {
|
||||
number: "".to_string(),
|
||||
},
|
||||
minimal_client_version: None,
|
||||
updated: "".to_string(),
|
||||
public: false,
|
||||
available: false,
|
||||
|
||||
@@ -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