Fix adding to group by username

This commit is contained in:
Fedor Indutny
2023-03-09 13:46:01 -08:00
committed by GitHub
parent e87062295e
commit 613d893f45
5 changed files with 31 additions and 26 deletions

View File

@@ -10,7 +10,7 @@ import React, {
useRef,
useCallback,
} from 'react';
import { noop, omit } from 'lodash';
import { omit } from 'lodash';
import type { MeasuredComponentProps } from 'react-measure';
import Measure from 'react-measure';
import type { ListRowProps } from 'react-virtualized';
@@ -340,9 +340,9 @@ export function ChooseGroupMembersModal({
toggleConversationInChooseMembers={conversationId =>
handleContactClick(conversationId, undefined)
}
showUserNotFoundModal={noop}
showUserNotFoundModal={showUserNotFoundModal}
setIsFetchingUUID={setIsFetchingUUID}
lookupConversationWithoutUuid={() => Promise.resolve(undefined)}
lookupConversationWithoutUuid={lookupConversationWithoutUuid}
/>
);
break;