Fix ConversationDetails groupsInCommon empty
This commit is contained in:
parent
1fcad38967
commit
e0c2627dc6
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…
Add table
Reference in a new issue