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),