From 206a15191fdaefcdd01926fbed4780859aa4baeb Mon Sep 17 00:00:00 2001 From: AlexeyZavar Date: Sat, 15 Mar 2025 00:01:53 +0300 Subject: [PATCH] fix: repeated deleted text --- Telegram/SourceFiles/history/history_item.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index ee3faa576..ddf98d15a 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -3109,13 +3109,8 @@ void HistoryItem::setPostAuthor(const QString &postAuthor) { void HistoryItem::setDeleted() { _deleted = true; - const auto settings = &AyuSettings::getInstance(); - if (settings->replaceBottomInfoWithIcons) { - history()->owner().requestItemViewRefresh(this); - history()->owner().requestItemResize(this); - } else { - setAyuHint(settings->deletedMark); - } + history()->owner().requestItemViewRefresh(this); + history()->owner().requestItemResize(this); } bool HistoryItem::isDeleted() const {