This commit is contained in:
ZavaruKitsu 2024-01-01 19:18:02 +03:00
parent c408c5fb87
commit 3948341d6a

View file

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