Can get sync thread status

This commit is contained in:
2025-11-19 16:34:00 +01:00
parent 1e00d24a8b
commit 7b691962a0
4 changed files with 38 additions and 3 deletions

View File

@@ -39,9 +39,13 @@ impl FromRequest for MatrixClientExtractor {
matrix_manager_actor,
MatrixManagerMsg::GetClient,
auth.user.email.clone()
)
.expect("Failed to query manager actor!")
.expect("Failed to get client!");
);
let client = match client {
Ok(Ok(client)) => client,
Ok(Err(err)) => panic!("Failed to get client! {err:?}"),
Err(err) => panic!("Failed to query manager actor! {err:#?}"),
};
Ok(Self { auth, client })
})