Did some code clean-up
Added TODOs for some changes that need to be made
This commit is contained in:
@@ -193,9 +193,6 @@ pub(crate) async fn handle_login_req(
|
||||
if let Some(mut state) = connection_service.get_connection_mut(&connection_id) {
|
||||
let writer_clone = state.writer.clone().unwrap();
|
||||
create_chat_client_handler(writer_clone, chat_handler.clone()).await?;
|
||||
}
|
||||
|
||||
if let Some(mut state) = connection_service.get_connection_mut(&connection_id) {
|
||||
state.chat_handler = Some(chat_handler);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user