Fix ConversationDetails groupsInCommon empty

This commit is contained in:
Jamie Kyle
2024-03-14 12:18:50 -07:00
committed by GitHub
parent 1fcad38967
commit e0c2627dc6

View File

@@ -64,7 +64,7 @@ function getGroupsInCommonSorted(
conversation: ConversationType,
allComposableConversations: ReadonlyArray<ConversationType>
) {
if (conversation.type === 'direct') {
if (conversation.type !== 'direct') {
return [];
}
const groupsInCommonUnsorted = allComposableConversations.filter(