Fix reply_header for service messages.

GitOrigin-RevId: ff9b1a5bcdd557362a34282a66734fa077b6099c
This commit is contained in:
levlam 2020-09-27 01:47:16 +03:00
parent 68229982da
commit f1dcdc9a49

View File

@ -12514,7 +12514,6 @@ MessagesManager::MessageInfo MessagesManager::parse_telegram_api_message(
}
message_info.date = message->date_;
message_info.flags = message->flags_;
message_info.reply_header = std::move(message->reply_to_);
auto reply_to_message_id = MessageId(
ServerMessageId(message_info.reply_header == nullptr ? 0 : message_info.reply_header->reply_to_msg_id_));
message_info.content =