Fix extended media store.
This commit is contained in:
parent
263b383530
commit
85f9f0481f
@ -80,7 +80,7 @@ void store(const InputInvoice &input_invoice, StorerT &storer) {
|
|||||||
bool has_provider_data = !input_invoice.provider_data_.empty();
|
bool has_provider_data = !input_invoice.provider_data_.empty();
|
||||||
bool has_total_amount = input_invoice.total_amount_ != 0;
|
bool has_total_amount = input_invoice.total_amount_ != 0;
|
||||||
bool has_receipt_message_id = input_invoice.receipt_message_id_.is_valid();
|
bool has_receipt_message_id = input_invoice.receipt_message_id_.is_valid();
|
||||||
bool has_extended_media = input_invoice.extended_media_.is_empty();
|
bool has_extended_media = !input_invoice.extended_media_.is_empty();
|
||||||
BEGIN_STORE_FLAGS();
|
BEGIN_STORE_FLAGS();
|
||||||
STORE_FLAG(has_description);
|
STORE_FLAG(has_description);
|
||||||
STORE_FLAG(has_photo);
|
STORE_FLAG(has_photo);
|
||||||
|
Loading…
Reference in New Issue
Block a user