add missing await to first admin room creation

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-09-21 16:28:46 -04:00
parent 3f7ec4221d
commit 4496cf2d5b

View file

@ -30,7 +30,11 @@ use crate::Services;
pub async fn create_admin_room(services: &Services) -> Result<()> {
let room_id = RoomId::new(services.globals.server_name());
let _short_id = services.rooms.short.get_or_create_shortroomid(&room_id);
let _short_id = services
.rooms
.short
.get_or_create_shortroomid(&room_id)
.await;
let state_lock = services.rooms.state.mutex.lock(&room_id).await;