From fc4fcae991d843b21616aeba13ddcfdbd82715e9 Mon Sep 17 00:00:00 2001 From: ryanzhao Date: Mon, 20 Sep 2021 10:02:59 +1000 Subject: [PATCH] only show mention indicator for group chats --- Session/Shared/ConversationCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Session/Shared/ConversationCell.swift b/Session/Shared/ConversationCell.swift index 32ae0d4bd..6f8a23afe 100644 --- a/Session/Shared/ConversationCell.swift +++ b/Session/Shared/ConversationCell.swift @@ -200,7 +200,7 @@ final class ConversationCell : UITableViewCell { unreadCountLabel.text = unreadCount < 100 ? "\(unreadCount)" : "99+" let fontSize = (unreadCount < 100) ? Values.verySmallFontSize : 8 unreadCountLabel.font = .boldSystemFont(ofSize: fontSize) - hasMentionView.isHidden = !threadViewModel.hasUnreadMentions + hasMentionView.isHidden = !(threadViewModel.hasUnreadMentions && thread.isGroupThread()) profilePictureView.update(for: thread) displayNameLabel.text = getDisplayName() timestampLabel.text = DateUtil.formatDate(forDisplay: threadViewModel.lastMessageDate)