mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
Update to Rust 1.50
Also run rustfmt, fix new clippy warnings.
This commit is contained in:
@@ -93,8 +93,10 @@ impl<'a> BobStateHandle<'a> {
|
||||
info!(context, "Handling securejoin message for BobStateHandle");
|
||||
match self.bobstate.handle_message(context, mime_message).await {
|
||||
Ok(Some(stage)) => {
|
||||
if matches!(stage, BobHandshakeStage::Completed | BobHandshakeStage::Terminated(_))
|
||||
{
|
||||
if matches!(
|
||||
stage,
|
||||
BobHandshakeStage::Completed | BobHandshakeStage::Terminated(_)
|
||||
) {
|
||||
self.finish_protocol(context).await;
|
||||
}
|
||||
Some(stage)
|
||||
|
||||
Reference in New Issue
Block a user