Bot close confirm closes only by Close button.

This commit is contained in:
John Preston 2024-03-15 20:27:54 +04:00
parent f1d8135e30
commit 24e9a3ea59
1 changed files with 1 additions and 1 deletions

View File

@ -1073,7 +1073,7 @@ void Panel::closeWithConfirmation() {
});
if (!weak) {
return;
} else if (result.id != "cancel") {
} else if (result.id == "close") {
_delegate->botClose();
} else {
_closeWithConfirmationScheduled = false;