fractal::session::view::content::room_details::room_upgrade_dialog

Function confirm_room_upgrade

Source
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.