Version 1.7.10: Ownership transfer flood errors.

This commit is contained in:
John Preston 2019-06-24 15:14:07 +02:00
parent 84aaec30a1
commit f77b11975b
2 changed files with 3 additions and 4 deletions

View File

@ -637,9 +637,9 @@ void PasscodeBox::sendClearCloudPassword(
MTPSecureSecretSettings())
)).done([=](const MTPBool &result) {
setPasswordDone({});
}).handleFloodErrors().fail([=](const RPCError &error) mutable {
}).fail([=](const RPCError &error) mutable {
setPasswordFail({}, QString(), error);
}).send();
}).handleFloodErrors().send();
}
void PasscodeBox::setNewCloudPassword(const QString &newPassword) {

View File

@ -563,8 +563,7 @@ void EditAdminBox::sendTransferRequestFrom(
if (weak && !recoverable) {
closeBox();
}
})).send();
})).handleFloodErrors().send();
}
void EditAdminBox::refreshAboutAddAdminsText(bool canAddAdmins) {