pub async fn confirm_room_upgrade(
    capability: RoomVersionsCapability,
    parent: &impl IsA<Widget>
) -> Option<RoomVersionId>
Expand description

Show a dialog to confirm the room upgrade and select a room version.

Returns the selected room version, or None if the user didn’t confirm.