From 85f9f0481f93cd5b6c2225ca1df670a33b3ad471 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 23 Sep 2022 19:54:05 +0300 Subject: [PATCH] Fix extended media store. --- td/telegram/InputInvoice.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/InputInvoice.hpp b/td/telegram/InputInvoice.hpp index 168ca0cdd..4c64cd9ec 100644 --- a/td/telegram/InputInvoice.hpp +++ b/td/telegram/InputInvoice.hpp @@ -80,7 +80,7 @@ void store(const InputInvoice &input_invoice, StorerT &storer) { bool has_provider_data = !input_invoice.provider_data_.empty(); bool has_total_amount = input_invoice.total_amount_ != 0; 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(); STORE_FLAG(has_description); STORE_FLAG(has_photo);