2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Update API scheme to layer 131.

This commit is contained in:
John Preston
2021-07-05 21:04:21 +03:00
parent b57255297c
commit 8f5ac0420e
3 changed files with 19 additions and 7 deletions

View File

@@ -1062,7 +1062,9 @@ void RecoverBox::submit() {
const auto send = crl::guard(this, [=] {
_submitRequest = _api.request(MTPauth_RecoverPassword(
MTP_string(code)
MTP_flags(0),
MTP_string(code),
MTPaccount_PasswordInputSettings()
)).done([=](const MTPauth_Authorization &result) {
codeSubmitDone(result);
}).fail([=](const MTP::Error &error) {