Function fractal::components::dialogs::message_dialogs::confirm_leave_room_dialog
source ยท pub async fn confirm_leave_room_dialog(
room: &Room,
parent: &impl IsA<Widget>,
) -> Option<ConfirmLeaveRoomResponse>
Expand description
Show a dialog to confirm leaving a room.
This supports both leaving a joined room and rejecting an invite.
Returns None
if the user did not confirm.