From 247bc1565908c36b40d88ef92275adaaac0a13d4 Mon Sep 17 00:00:00 2001 From: timedout Date: Tue, 6 Jan 2026 21:54:29 +0000 Subject: [PATCH] fix: Await future --- src/api/client/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/client/session.rs b/src/api/client/session.rs index d295a5b3..11ea06b7 100644 --- a/src/api/client/session.rs +++ b/src/api/client/session.rs @@ -186,7 +186,7 @@ pub(crate) async fn handle_login( return Err!(Request(Unknown("User ID does not belong to this homeserver"))); } - if services.users.is_locked(&user_id)? { + if services.users.is_locked(&user_id).await? { return Err(Error::BadRequest(ErrorKind::UserLocked, "This account has been locked.")); }