mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-12-03 14:54:09 +00:00
fix: room upgrades
This commit is contained in:
parent
667ffb4239
commit
6d83954c40
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue