make set avatar, displayname, and blurhash async and forgot another let _

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-14 01:42:37 -05:00 committed by June
parent 9ec1532580
commit 149d22eef7
5 changed files with 49 additions and 22 deletions

View file

@ -205,7 +205,8 @@ pub async fn register_route(body: Ruma<register::v3::Request>) -> Result<registe
services()
.users
.set_displayname(&user_id, Some(displayname.clone()))?;
.set_displayname(&user_id, Some(displayname.clone()))
.await?;
// Initial account data
services().account_data.update(