From 809a9429dc7efcebefe0cb0f524c9c03d3300322 Mon Sep 17 00:00:00 2001 From: Ginger Date: Wed, 27 May 2026 13:39:25 -0400 Subject: [PATCH] fix: Formatting --- src/api/client/account/mod.rs | 5 ++++- src/api/client/account/threepid.rs | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/api/client/account/mod.rs b/src/api/client/account/mod.rs index d7bf69c10..ca4b59154 100644 --- a/src/api/client/account/mod.rs +++ b/src/api/client/account/mod.rs @@ -96,7 +96,10 @@ pub(crate) async fn change_password_route( &body.auth, vec![AuthFlow::new(vec![AuthType::Password])], Box::default(), - Some(UiaaInitiator::new(identity.expect_sender_user()?, identity.sender_device())), + Some(UiaaInitiator::new( + identity.expect_sender_user()?, + identity.sender_device(), + )), ) .await? } else { diff --git a/src/api/client/account/threepid.rs b/src/api/client/account/threepid.rs index 574409181..dea02ea2c 100644 --- a/src/api/client/account/threepid.rs +++ b/src/api/client/account/threepid.rs @@ -123,7 +123,8 @@ pub(crate) async fn add_3pid_route( let _ = services .uiaa .authenticate_password( - &body.auth, body.identity.expect_sender_user()?, + &body.auth, + body.identity.expect_sender_user()?, body.identity.sender_device(), None, )