diff --git a/native/input/input-state-container.react.js b/native/input/input-state-container.react.js --- a/native/input/input-state-container.react.js +++ b/native/input/input-state-container.react.js @@ -22,7 +22,6 @@ uploadMultimedia, useBlobServiceUpload, } from 'lib/actions/upload-actions.js'; -import commStaffCommunity from 'lib/facts/comm-staff-community.js'; import { type SendMultimediaMessagePayload, useInputStateContainerSendMultimediaMessage, @@ -53,7 +52,6 @@ import { createRealThreadFromPendingThread } from 'lib/shared/thread-actions-utils.js'; import { patchThreadInfoToIncludeMentionedMembersOfParent, - threadInfoInsideCommunity, threadIsPending, threadIsPendingSidebar, } from 'lib/shared/thread-utils.js'; @@ -632,11 +630,9 @@ } } + // eslint-disable-next-line no-unused-vars shouldEncryptMedia(threadInfo: ThreadInfo): boolean { - return ( - threadTypeIsThick(threadInfo.type) || - threadInfoInsideCommunity(threadInfo, commStaffCommunity.id) - ); + return true; } sendMultimediaMessage = async ( diff --git a/web/input/input-state-container.react.js b/web/input/input-state-container.react.js --- a/web/input/input-state-container.react.js +++ b/web/input/input-state-container.react.js @@ -32,7 +32,6 @@ useModalContext, } from 'lib/components/modal-provider.react.js'; import blobService from 'lib/facts/blob-service.js'; -import commStaffCommunity from 'lib/facts/comm-staff-community.js'; import { type SendMultimediaMessagePayload, useInputStateContainerSendMultimediaMessage, @@ -55,7 +54,6 @@ import { draftKeyFromThreadID, patchThreadInfoToIncludeMentionedMembersOfParent, - threadInfoInsideCommunity, threadIsPending, threadIsPendingSidebar, } from 'lib/shared/thread-utils.js'; @@ -448,11 +446,9 @@ return rawMessageInfo; } + // eslint-disable-next-line no-unused-vars shouldEncryptMedia(threadInfo: ThreadInfo): boolean { - return ( - threadTypeIsThick(threadInfo.type) || - threadInfoInsideCommunity(threadInfo, commStaffCommunity.id) - ); + return true; } async sendMultimediaMessage(