Fix PaymentSuccessful comparison.
This commit is contained in:
parent
7618c9aa64
commit
b8bd39dc6f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user