Skip to content

Commit

Permalink
Fix service message reply_to_message_id.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
  • Loading branch information
levlam committed Oct 14, 2020
1 parent a57d9cc commit a487d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions td/telegram/MessagesManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12485,8 +12485,8 @@ MessagesManager::MessageInfo MessagesManager::parse_telegram_api_message(
}
message_info.date = message->date_;
message_info.flags = message->flags_;
auto reply_to_message_id = MessageId(
ServerMessageId(message_info.reply_header == nullptr ? 0 : message_info.reply_header->reply_to_msg_id_));
auto reply_to_message_id =
MessageId(ServerMessageId(message->reply_to_ == nullptr ? 0 : message->reply_to_->reply_to_msg_id_));
message_info.content =
get_action_message_content(td_, std::move(message->action_), message_info.dialog_id, reply_to_message_id);
break;
Expand Down

0 comments on commit a487d20

Please sign in to comment.