From 3948341d6a8989e0575815a3feaba599a1fdb061 Mon Sep 17 00:00:00 2001 From: ZavaruKitsu Date: Mon, 1 Jan 2024 19:18:02 +0300 Subject: [PATCH] fix: meh --- Telegram/SourceFiles/history/history_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index 16bc9a674..80733f204 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -1131,7 +1131,7 @@ void HistoryItem::setCommentsItemId(FullMsgId id) { void HistoryItem::setServiceText(PreparedServiceText &&prepared) { auto text = std::move(prepared.text); - if (!prepared.text.empty()) { + if (!text.text.isEmpty()) { const auto settings = &AyuSettings::getInstance(); text = text.append(QString(" (%1)").arg(QLocale().toString( base::unixtime::parse(_date),