refactor(app): name mute and unread state accessors by intent (#1859)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-24 12:32:55 +02:00
1 parent 52781cfa2d
commit a2099fb0e2
33 files changed
+173 -490

No files matched your search

@@ -132,7 +132,7 @@ const ResolvedDMListItem = observer(function ResolvedDMListItem({
: TypingIndicator.isTyping(channel.id, recipientId);
const hasUnreadMessages = () => ReadStates.hasUnread(channel.id);
const isMobile = MobileLayout.isMobileLayout();
const isMuted = UserGuildSettings.isChannelMuted(null, channel.id);
const isMuted = UserGuildSettings.isChannelDirectlyMuted(null, channel.id);
const mentionCount = ReadStates.getMentionCount(channel.id);
const unreadState = getChannelUnreadState({
unreadCount: ReadStates.getUnreadCount(channel.id),