mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Fix ConversationDetails groupsInCommon empty
This commit is contained in:
@@ -64,7 +64,7 @@ function getGroupsInCommonSorted(
|
||||
conversation: ConversationType,
|
||||
allComposableConversations: ReadonlyArray<ConversationType>
|
||||
) {
|
||||
if (conversation.type === 'direct') {
|
||||
if (conversation.type !== 'direct') {
|
||||
return [];
|
||||
}
|
||||
const groupsInCommonUnsorted = allComposableConversations.filter(
|
||||
|
||||
Reference in New Issue
Block a user