refactor: Split the users service into several modules

Also resolvers several lints, including needless async on create_user
This commit is contained in:
timedout
2026-06-27 18:37:33 +01:00
parent 6fdeadc356
commit 967e2cc54f
11 changed files with 1381 additions and 1322 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ pub(crate) async fn register_route(
};
// Create user
services.users.create(&user_id, password).await?;
services.users.create(&user_id, password)?;
// Set an initial display name
let mut displayname = user_id.localpart().to_owned();