mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Gray unread reaction mention in muted chats.
This commit is contained in:
parent
13106d781e
commit
22dc842705
1 changed files with 2 additions and 1 deletions
|
@ -801,7 +801,6 @@ void RowPainter::paint(
|
|||
const auto unreadCount = entry->chatListUnreadCount();
|
||||
const auto unreadMark = entry->chatListUnreadMark();
|
||||
const auto unreadMuted = entry->chatListMutedBadge();
|
||||
const auto mentionOrReactionMuted = (entry->folder() != nullptr);
|
||||
const auto item = entry->chatListMessage();
|
||||
const auto cloudDraft = [&]() -> const Data::Draft*{
|
||||
if (history && (!item || (!unreadCount && !unreadMark))) {
|
||||
|
@ -832,6 +831,8 @@ void RowPainter::paint(
|
|||
const auto displayReactionBadge = !displayMentionBadge
|
||||
&& history
|
||||
&& history->unreadReactions().has();
|
||||
const auto mentionOrReactionMuted = (entry->folder() != nullptr)
|
||||
|| (!displayMentionBadge && unreadMuted);
|
||||
const auto displayUnreadCounter = [&] {
|
||||
if (displayMentionBadge
|
||||
&& unreadCount == 1
|
||||
|
|
Loading…
Add table
Reference in a new issue