mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 08:03:45 +08:00
Added raising of mentioned chats to top for unread-on-top option.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user