@@ -8636,8 +8636,11 @@ unique_ptr<MessageContent> get_action_message_content(Td *td, tl_object_ptr<tele
8636
8636
case telegram_api::messageActionPinMessage::ID:
8637
8637
case telegram_api::messageActionGameScore::ID:
8638
8638
case telegram_api::messageActionPaymentSent::ID:
8639
+ case telegram_api::messageActionPaymentSentMe::ID:
8640
+ case telegram_api::messageActionTopicEdit::ID:
8639
8641
case telegram_api::messageActionSetChatWallPaper::ID:
8640
8642
case telegram_api::messageActionGiveawayResults::ID:
8643
+ case telegram_api::messageActionRequestedPeerSentMe::ID:
8641
8644
case telegram_api::messageActionStarGiftUnique::ID:
8642
8645
case telegram_api::messageActionTodoCompletions::ID:
8643
8646
case telegram_api::messageActionTodoAppendTasks::ID:
@@ -8793,6 +8796,7 @@ unique_ptr<MessageContent> get_action_message_content(Td *td, tl_object_ptr<tele
8793
8796
}
8794
8797
case telegram_api::messageActionPaymentSentMe::ID: {
8795
8798
auto action = telegram_api::move_object_as<telegram_api::messageActionPaymentSentMe>(action_ptr);
8799
+ // ignore replied_message_info
8796
8800
if (action->total_amount_ <= 0 || !check_currency_amount (action->total_amount_ )) {
8797
8801
LOG (ERROR) << " Receive invalid total amount " << action->total_amount_ ;
8798
8802
action->total_amount_ = 0 ;
@@ -8957,6 +8961,7 @@ unique_ptr<MessageContent> get_action_message_content(Td *td, tl_object_ptr<tele
8957
8961
auto edit_icon_custom_emoji_id = (action->flags_ & telegram_api::messageActionTopicEdit::ICON_EMOJI_ID_MASK) != 0 ;
8958
8962
auto edit_is_closed = (action->flags_ & telegram_api::messageActionTopicEdit::CLOSED_MASK) != 0 ;
8959
8963
auto edit_is_hidden = (action->flags_ & telegram_api::messageActionTopicEdit::HIDDEN_MASK) != 0 ;
8964
+ // ignore replied_message_info
8960
8965
return td::make_unique<MessageTopicEdit>(
8961
8966
ForumTopicEditedData{std::move (action->title_ ), edit_icon_custom_emoji_id, action->icon_emoji_id_ ,
8962
8967
edit_is_closed, action->closed_ , edit_is_hidden, action->hidden_ });
@@ -9046,6 +9051,7 @@ unique_ptr<MessageContent> get_action_message_content(Td *td, tl_object_ptr<tele
9046
9051
}
9047
9052
case telegram_api::messageActionRequestedPeerSentMe::ID: {
9048
9053
auto action = telegram_api::move_object_as<telegram_api::messageActionRequestedPeerSentMe>(action_ptr);
9054
+ // ignore replied_message_info
9049
9055
vector<SharedDialog> shared_dialogs;
9050
9056
for (auto &peer : action->peers_ ) {
9051
9057
SharedDialog shared_dialog (td, std::move (peer));
0 commit comments