diff options
-rw-r--r-- | src/state/queries/messages/list-converations.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/state/queries/messages/list-converations.ts b/src/state/queries/messages/list-converations.ts index 8319fdefe..25ac9a16e 100644 --- a/src/state/queries/messages/list-converations.ts +++ b/src/state/queries/messages/list-converations.ts @@ -59,7 +59,10 @@ export function useUnreadMessageCount() { // TODO could shadow this outside this hook and get optimistic block state const moderation = moderateProfile(otherMember, moderationOpts) - const shouldIgnore = convo.muted || moderation.blocked + const shouldIgnore = + convo.muted || + moderation.blocked || + otherMember.did === 'missing.invalid' const unreadCount = !shouldIgnore && convo.unreadCount > 0 ? 1 : 0 return acc + unreadCount |