Commit e2516425 by qlintonger xeno

完美解决CmdOnlineUserLists+1

parent 043688e3
......@@ -87,6 +87,7 @@ pub(crate) async fn handle_client(
send_online_users_and_send(&mut sender, &from_id).await
{
println!("处理在线用户列表出错了:{:?}", e);
break;
}
}
ClientMessage::SendClientMessage(
......@@ -95,6 +96,7 @@ pub(crate) async fn handle_client(
) => {
if let Err(e) = sender.send(Message::text(client_message)).await {
println!("发送给用户id {} 独立消息失败:{:?}", from_id.clone(), e);
break;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment