Function fractal::components::dialogs::message_dialogs::confirm_room_member_destructive_action_dialog
source · pub async fn confirm_room_member_destructive_action_dialog(
member: &Member,
action: RoomMemberDestructiveAction,
parent: &impl IsA<Widget>,
) -> Option<ConfirmRoomMemberDestructiveActionResponse>
Expand description
Show a dialog to confirm the given “destructive” action on the given room member.
Returns None
if the user did not confirm.