Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Ensure deleted chats don't count towards unread (#4129)

authored by

Eric Bailey and committed by
GitHub
22522090 e98bf652

+4 -1
+4 -1
src/state/queries/messages/list-converations.ts
··· 59 59 60 60 // TODO could shadow this outside this hook and get optimistic block state 61 61 const moderation = moderateProfile(otherMember, moderationOpts) 62 - const shouldIgnore = convo.muted || moderation.blocked 62 + const shouldIgnore = 63 + convo.muted || 64 + moderation.blocked || 65 + otherMember.did === 'missing.invalid' 63 66 const unreadCount = !shouldIgnore && convo.unreadCount > 0 ? 1 : 0 64 67 65 68 return acc + unreadCount