From 88b66af84ea145ce71bf8a3591870723a7a63c6c Mon Sep 17 00:00:00 2001 From: MeexReay Date: Sun, 20 Apr 2025 23:14:37 +0300 Subject: [PATCH] move read messages error to println --- src/chat/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/chat/mod.rs b/src/chat/mod.rs index fff8f66..188bf3e 100644 --- a/src/chat/mod.rs +++ b/src/chat/mod.rs @@ -205,9 +205,7 @@ pub fn recv_tick(ctx: Arc) -> Result<(), Box> { } }, Err(e) => { - let msg = format!("Read messages error: {}", e.to_string()).to_string(); - ctx.add_message(ctx.config(|o| o.max_messages), vec![msg.clone()]); - add_chat_message(ctx.clone(), msg.clone()); + println!("Read messages error: {}", e.to_string()) } _ => {} }