mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Fixed error handler of wrong cloud password for withdrawal button.
This commit is contained in:
@@ -89,7 +89,10 @@ void HandleWithdrawalButton(
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const auto fail = [=](const MTP::Error &error) {
|
const auto fail = [=](const MTP::Error &error) {
|
||||||
show->showToast(error.type());
|
const auto message = error.type();
|
||||||
|
if (box && !box->handleCustomCheckError(message)) {
|
||||||
|
show->showToast(message);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
if (channel) {
|
if (channel) {
|
||||||
session->api().request(
|
session->api().request(
|
||||||
|
Reference in New Issue
Block a user