diff --git a/ts/state/selectors/conversations.ts b/ts/state/selectors/conversations.ts index ae63ae0c7..404744145 100644 --- a/ts/state/selectors/conversations.ts +++ b/ts/state/selectors/conversations.ts @@ -543,7 +543,8 @@ export const getNonGroupStories = createSelector( conversationIdsWithStories: Set ): Array => { return groups.filter( - group => !isGroupInStoryMode(group, conversationIdsWithStories) + group => + !isGroupInStoryMode(group, conversationIdsWithStories) && !group.left ); } ); @@ -578,8 +579,10 @@ export const getGroupStories = createSelector( conversationLookup: ConversationLookupType, conversationIdsWithStories: Set ): Array => { - return Object.values(conversationLookup).filter(conversation => - isGroupInStoryMode(conversation, conversationIdsWithStories) + return Object.values(conversationLookup).filter( + conversation => + isGroupInStoryMode(conversation, conversationIdsWithStories) && + !conversation.left ); } );