pub(crate) async fn upgrade_room_route(
__arg0: State<State>,
body: Args<Request>,
) -> Result<Response>Expand description
ยงPOST /_matrix/client/r0/rooms/{roomId}/upgrade
Upgrades the room.
- Creates a replacement room
- Sends a tombstone event into the current room
- Sender user joins the room
- Transfers some state events
- Moves local aliases
- Modifies old room power levels to prevent users from speaking