diff --git a/ts/services/calling.ts b/ts/services/calling.ts index 08c385677b..a89b52cab7 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -157,7 +157,6 @@ import { createIdenticon } from '../util/createIdenticon'; import { getColorForCallLink } from '../util/getColorForCallLink'; import { getUseRingrtcAdm } from '../util/ringrtc/ringrtcAdm'; import OS from '../util/os/osMain'; -import { isLowerHandSuggestionEnabled } from '../util/isLowerHandSuggestionEnabled'; import { sleep } from '../util/sleep'; const { wasGroupCallRingPreviouslyCanceled } = DataReader; @@ -1578,9 +1577,6 @@ export class CallingClass { }); }, onSpeechEvent: (_groupCall: GroupCall, event: SpeechEvent) => { - if (!isLowerHandSuggestionEnabled()) { - return; - } log.info('GroupCall#onSpeechEvent', event); if (event === SpeechEvent.LowerHandSuggestion) { this.#reduxInterface?.setSuggestLowerHand(true); diff --git a/ts/util/isLowerHandSuggestionEnabled.ts b/ts/util/isLowerHandSuggestionEnabled.ts deleted file mode 100644 index b41463fbed..0000000000 --- a/ts/util/isLowerHandSuggestionEnabled.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2024 Signal Messenger, LLC -// SPDX-License-Identifier: AGPL-3.0-only - -import * as RemoteConfig from '../RemoteConfig'; -import { isProduction } from './version'; - -export function isLowerHandSuggestionEnabled(): boolean { - if ( - isProduction(window.getVersion()) || - !RemoteConfig.isEnabled('desktop.internalUser') - ) { - return false; - } - - return true; -}