mirror of
https://github.com/ars3niy/tdlib-purple
synced 2025-08-31 05:55:08 +00:00
Don't store all received messages
Always fetch source message for replies from tlib
This commit is contained in:
@@ -430,7 +430,7 @@ void showMessageText(TdAccountData &account, const td::td_api::chat &chat, const
|
||||
|
||||
std::string newText;
|
||||
if (message.repliedMessageId != 0)
|
||||
newText = quoteMessage(account.findMessage(message.repliedMessageId), account);
|
||||
newText = quoteMessage(message.repliedMessage.get(), account);
|
||||
if (!message.forwardedFrom.empty()) {
|
||||
if (!newText.empty())
|
||||
newText += "\n";
|
||||
|
Reference in New Issue
Block a user