Enable "Lower hand" suggestions

This commit is contained in:
Miriam Zimmerman
2025-03-10 12:44:33 -04:00
committed by GitHub
parent 5b130ae780
commit a7fb551d3e
2 changed files with 0 additions and 20 deletions

View File

@@ -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);

View File

@@ -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;
}