forked from lavina/lavina
1
0
Fork 0

keep todos for uncertain behaviour

This commit is contained in:
G1ng3r 2024-02-05 21:03:45 +03:00
parent d6da40e4ff
commit 6f8b5385bc
1 changed files with 2 additions and 2 deletions

View File

@ -181,10 +181,10 @@ async fn handle_registration<'a>(
} }
CapabilitySubcommand::End => { CapabilitySubcommand::End => {
let Some((ref username, ref realname)) = future_username else { let Some((ref username, ref realname)) = future_username else {
break Err(anyhow::Error::msg("Protocol violated")); todo!();
}; };
let Some(nickname) = future_nickname.clone() else { let Some(nickname) = future_nickname.clone() else {
break Err(anyhow::Error::msg("Protocol violated")); todo!();
}; };
let username = username.clone(); let username = username.clone();
let realname = realname.clone(); let realname = realname.clone();