2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-31 05:55:08 +00:00

Use type-safe message id more

This commit is contained in:
Arseniy Lartsev
2020-10-11 10:55:42 +02:00
parent 9cc0d956c6
commit 552f30b18f
4 changed files with 4 additions and 3 deletions

View File

@@ -1266,7 +1266,7 @@ void PurpleTdClient::showMessage(const td::td_api::chat &chat, IncomingMessage &
messageInfo.timestamp = message.date_;
messageInfo.outgoing = message.is_outgoing_;
messageInfo.sentLocally = (message.sending_state_ != nullptr);
messageInfo.repliedMessageId = message.reply_to_message_id_;
messageInfo.repliedMessageId = getReplyMessageId(message);
messageInfo.repliedMessage = std::move(fullMessage.repliedMessage);
if (message.forward_info_)