fix: room upgrades

This commit is contained in:
Timo Kösters 2021-08-22 13:05:56 +02:00 committed by Jonas Zohren
parent 6255406de0
commit 10da08e260

View file

@ -423,6 +423,8 @@ pub async fn upgrade_room_route(
// Create a replacement room
let replacement_room = RoomId::new(db.globals.server_name());
db.rooms
.get_or_create_shortroomid(&replacement_room, &db.globals)?;
let mutex_state = Arc::clone(
db.globals