1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-12-29 10:44:29 +01:00

fix: room upgrades

This commit is contained in:
Timo Kösters 2021-08-22 13:05:56 +02:00
parent 667ffb4239
commit 6d83954c40
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4

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