diff --git a/server/src/websocket/server.rs b/server/src/websocket/server.rs index b4cbce3..900c7b4 100644 --- a/server/src/websocket/server.rs +++ b/server/src/websocket/server.rs @@ -233,14 +233,6 @@ impl Handler for ChatServer { }); } - // for (k,v) in &self.rate_limits { - // println!("{}: {:?}", k,v); - // } - - // auto join session to Main room - // self.rooms.get_mut(&"Main".to_owned()).unwrap().insert(id); - - // send id back id } } @@ -285,7 +277,10 @@ fn parse_json_message(chat: &mut ChatServer, msg: StandardMessage) -> Result