mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
Gray unread reaction mention in muted chats.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user