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().");
|
||||
}();
|
||||
const auto flags = ((value->scansInEdit.empty()
|
||||
&& value->data.parsedInEdit.fields.empty())
|
||||
const auto flags = (value->data.parsedInEdit.fields.empty()
|
||||
? MTPDinputSecureValue::Flag(0)
|
||||
: MTPDinputSecureValue::Flag::f_data)
|
||||
| (value->scansInEdit.empty()
|
||||
|
|
Loading…
Reference in New Issue