diff --git a/td/telegram/MessageContent.cpp b/td/telegram/MessageContent.cpp index 9f4117c73..83e6c3680 100644 --- a/td/telegram/MessageContent.cpp +++ b/td/telegram/MessageContent.cpp @@ -3464,8 +3464,8 @@ void merge_message_contents(Td *td, const MessageContent *old_content, MessageCo old_->telegram_payment_charge_id != new_->telegram_payment_charge_id || old_->provider_payment_charge_id != new_->provider_payment_charge_id || ((old_->order_info != nullptr || new_->order_info != nullptr) && - (old_->order_info == nullptr || new_->order_info == nullptr || *old_->order_info != *new_->order_info || - old_->is_recurring != new_->is_recurring || old_->is_first_recurring != new_->is_first_recurring))) { + (old_->order_info == nullptr || new_->order_info == nullptr || *old_->order_info != *new_->order_info)) || + old_->is_recurring != new_->is_recurring || old_->is_first_recurring != new_->is_first_recurring) { need_update = true; } break;