2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme on layer 144.

This commit is contained in:
John Preston
2022-07-01 13:04:21 +04:00
parent 2499955496
commit 00d1828fbe
5 changed files with 22 additions and 6 deletions

View File

@@ -492,7 +492,9 @@ void Widget::resetAccount() {
return;
}
_resetRequest = _api->request(MTPaccount_DeleteAccount(
MTP_string("Forgot password")
MTP_flags(0),
MTP_string("Forgot password"),
MTPInputCheckPasswordSRP()
)).done([=] {
_resetRequest = 0;