mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-27 17:13:40 +00:00
Don't send data in address_document.
This commit is contained in:
parent
60582a24ab
commit
4a8b6ff5ba
@ -1337,8 +1337,7 @@ void FormController::saveEncryptedValue(not_null<Value*> value) {
|
|||||||
}
|
}
|
||||||
Unexpected("Value type in saveEncryptedValue().");
|
Unexpected("Value type in saveEncryptedValue().");
|
||||||
}();
|
}();
|
||||||
const auto flags = ((value->scansInEdit.empty()
|
const auto flags = (value->data.parsedInEdit.fields.empty()
|
||||||
&& value->data.parsedInEdit.fields.empty())
|
|
||||||
? MTPDinputSecureValue::Flag(0)
|
? MTPDinputSecureValue::Flag(0)
|
||||||
: MTPDinputSecureValue::Flag::f_data)
|
: MTPDinputSecureValue::Flag::f_data)
|
||||||
| (value->scansInEdit.empty()
|
| (value->scansInEdit.empty()
|
||||||
|
Loading…
Reference in New Issue
Block a user