From 824002d7664572cddf4ea54af2d4ffad8f30c085 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Thu, 14 Mar 2024 14:36:47 -0500 Subject: [PATCH] Fix ConversationDetails groupsInCommon empty Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> --- ts/state/smart/ConversationDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/state/smart/ConversationDetails.tsx b/ts/state/smart/ConversationDetails.tsx index bafe38444d..6b544f9cf7 100644 --- a/ts/state/smart/ConversationDetails.tsx +++ b/ts/state/smart/ConversationDetails.tsx @@ -64,7 +64,7 @@ function getGroupsInCommonSorted( conversation: ConversationType, allComposableConversations: ReadonlyArray ) { - if (conversation.type === 'direct') { + if (conversation.type !== 'direct') { return []; } const groupsInCommonUnsorted = allComposableConversations.filter(