diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index 4e471faef9..1ccc07cf9a 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -2794,11 +2794,14 @@ void HistoryItem::setAyuHint(const QString &hint) { && this->author()->isMegagroup(); } else { const auto data = Get(); - auto prepared = PreparedServiceText{ - .text = _text.append(QString(" (%1)").arg(hint)), - .links = data->textLinks - }; - setServiceText(std::move(prepared)); + const auto postfix = QString(" (%1)").arg(hint); + if (!_text.text.endsWith(postfix)) { // fix stacking for TTL messages + auto prepared = PreparedServiceText{ + .text = _text.append(postfix), + .links = data->textLinks + }; + setServiceText(std::move(prepared)); + } } history()->owner().requestItemViewRefresh(this);