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

Moved out mtp fields from CloudPasswordState to nested struct.

This commit is contained in:
23rd
2022-05-06 07:16:21 +03:00
parent 77d50d9177
commit 627170520a
8 changed files with 65 additions and 30 deletions

View File

@@ -154,9 +154,9 @@ void StartPendingReset(
PasscodeBox::CloudFields PasscodeBox::CloudFields::From(
const Core::CloudPasswordState &current) {
auto result = CloudFields();
result.curRequest = current.request;
result.newAlgo = current.newPassword;
result.newSecureSecretAlgo = current.newSecureSecret;
result.curRequest = current.mtp.request;
result.newAlgo = current.mtp.newPassword;
result.newSecureSecretAlgo = current.mtp.newSecureSecret;
result.hasRecovery = current.hasRecovery;
result.notEmptyPassport = current.notEmptyPassport;
result.hint = current.hint;