about summary refs log tree commit diff
path: root/src/screens/Messages/Inbox.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/Messages/Inbox.tsx')
-rw-r--r--src/screens/Messages/Inbox.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/screens/Messages/Inbox.tsx b/src/screens/Messages/Inbox.tsx
index 12fc9c44e..0f64d2014 100644
--- a/src/screens/Messages/Inbox.tsx
+++ b/src/screens/Messages/Inbox.tsx
@@ -60,7 +60,12 @@ export function MessagesInboxScreen({}: Props) {
   }, [data, leftConvos])
 
   const hasUnreadConvos = useMemo(() => {
-    return conversations.some(conversation => conversation.unreadCount > 0)
+    return conversations.some(
+      conversation =>
+        conversation.members.every(
+          member => member.handle !== 'missing.invalid',
+        ) && conversation.unreadCount > 0,
+    )
   }, [conversations])
 
   return (