details
This commit is contained in:
parent
20482a1bca
commit
8215007e05
1 changed files with 2 additions and 2 deletions
|
@ -86,10 +86,10 @@ pub async fn message_handler(
|
|||
handle_new_game(_new_game, state, tx)?;
|
||||
}
|
||||
_chat_message if let Ok(_chat_message) = from_str::<ChatMessage>(&text) => {
|
||||
handle_chat_message(_chat_message, &state, tx, addr)?;
|
||||
handle_chat_message(_chat_message, state, tx, addr)?;
|
||||
}
|
||||
_user_log_in if let Ok(_user_log_in) = from_str::<UserLogIn>(&text) => {
|
||||
handle_user_log_in(_user_log_in, &state, tx, addr)?;
|
||||
handle_user_log_in(_user_log_in, state, tx, addr)?;
|
||||
}
|
||||
_ => {
|
||||
tracing::debug!("Unhandled message: {}", &text);
|
||||
|
|
Loading…
Add table
Reference in a new issue