From 06e4392c71fb29d296f0e977eed1080ab50ef0ab Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 18 Sep 2024 13:36:16 +0400 Subject: [PATCH] f Update TDLib to 1.8.21. --- Telegram/SourceFiles/history/history_item_components.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/history_item_components.cpp b/Telegram/SourceFiles/history/history_item_components.cpp index e9b8dffd4533c6..cadc025d497c53 100644 --- a/Telegram/SourceFiles/history/history_item_components.cpp +++ b/Telegram/SourceFiles/history/history_item_components.cpp @@ -424,8 +424,9 @@ ReplyFields ReplyFieldsFromTL( result.externalMedia = HistoryItem::CreateMedia(item, *content); } if (const auto quote = data.vquote()) { - result.quote = Api::FormattedTextFromTdb(*quote); - result.manualQuote = data.vis_quote_manual().v; + result.quote = Api::FormattedTextFromTdb(quote->data().vtext()); + result.quoteOffset = quote->data().vposition().v; + result.manualQuote = quote->data().vis_manual().v; } if (const auto origin = data.vorigin()) { origin->match([&](const TLDmessageOriginUser &data) {