mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
refactor(app): name mute and unread state accessors by intent (#1859)
This commit is contained in:
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),
|
||||
|
||||
Reference in new issue
Block a user