From e946bc2fa2fa6c3d610457f066ce80a5b4c9a092 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 17 Jul 2026 15:11:08 +0300 Subject: [PATCH] Added raising of mentioned chats to top for unread-on-top option. --- Telegram/SourceFiles/dialogs/dialogs_entry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/dialogs/dialogs_entry.cpp b/Telegram/SourceFiles/dialogs/dialogs_entry.cpp index ca7fa1f9d9..3d4e41a0cd 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_entry.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_entry.cpp @@ -259,7 +259,8 @@ bool Entry::hasUnreadUnmutedForSort() const { const auto state = chatListUnreadState(); return (state.messages > state.messagesMuted) || (state.marks > state.marksMuted) - || (state.reactions > state.reactionsMuted); + || (state.reactions > state.reactionsMuted) + || (state.mentions > 0); } void Entry::updateChatListExistence() {