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

@@ -321,7 +321,9 @@ void Session::unlockTerms() {
void Session::termsDeleteNow() {
api().request(MTPaccount_DeleteAccount(
MTP_string("Decline ToS update")
MTP_flags(0),
MTP_string("Decline ToS update"),
MTPInputCheckPasswordSRP()
)).send();
}