Enable Hide Contact for all users

This commit is contained in:
Scott Nonnenberg 2023-10-25 16:01:16 -07:00 committed by GitHub
parent be7b178817
commit f960c6b5db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 33 deletions

View file

@ -68,7 +68,6 @@ export type PropsType = {
hasRelinkDialog: boolean;
hasUpdateDialog: boolean;
isUpdateDownloaded: boolean;
isContactManagementEnabled: boolean;
unsupportedOSDialogType: 'error' | 'warning' | undefined;
// These help prevent invalid states. For example, we don't need the list of pinned
@ -182,7 +181,6 @@ export function LeftPane({
lookupConversationWithoutServiceId,
isMacOS,
isUpdateDownloaded,
isContactManagementEnabled,
modeSpecificProps,
navTabsCollapsed,
onOutgoingAudioCallInConversation,
@ -687,9 +685,7 @@ export function LeftPane({
onOutgoingVideoCallInConversation={
onOutgoingVideoCallInConversation
}
removeConversation={
isContactManagementEnabled ? removeConversation : undefined
}
removeConversation={removeConversation}
renderMessageSearchResult={renderMessageSearchResult}
rowCount={helper.getRowCount()}
scrollBehavior={scrollBehavior}