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:
@@ -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_)
|
||||
|
Reference in New Issue
Block a user