Fix ConversationDetails groupsInCommon empty
Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
parent
dc48d22de1
commit
824002d766
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ function getGroupsInCommonSorted(
|
|||
conversation: ConversationType,
|
||||
allComposableConversations: ReadonlyArray<ConversationType>
|
||||
) {
|
||||
if (conversation.type === 'direct') {
|
||||
if (conversation.type !== 'direct') {
|
||||
return [];
|
||||
}
|
||||
const groupsInCommonUnsorted = allComposableConversations.filter(
|
||||
|
|
Loading…
Reference in a new issue