Separate flag for cdsi in beta channel
This commit is contained in:
parent
5a8f484a03
commit
1a54d438c2
2 changed files with 6 additions and 1 deletions
|
@ -10,6 +10,7 @@ export type ConfigKeyType =
|
|||
| 'desktop.announcementGroup'
|
||||
| 'desktop.calling.audioLevelForSpeaking'
|
||||
| 'desktop.cdsi'
|
||||
| 'desktop.cdsi.beta'
|
||||
| 'desktop.cdsi.returnAcisWithoutUaks'
|
||||
| 'desktop.cdsi.mirroring'
|
||||
| 'desktop.clientExpiration'
|
||||
|
|
|
@ -7,6 +7,7 @@ import type { UUIDStringType } from '../types/UUID';
|
|||
import * as log from '../logging/log';
|
||||
import { isEnabled } from '../RemoteConfig';
|
||||
import { isDirectConversation, isMe } from './whatTypeOfConversation';
|
||||
import { isBeta } from './version';
|
||||
|
||||
export async function getUuidsForE164s(
|
||||
server: Pick<WebAPIType, 'cdsLookup'>,
|
||||
|
@ -39,7 +40,10 @@ export async function getUuidsForE164s(
|
|||
}
|
||||
|
||||
const returnAcisWithoutUaks = isEnabled('desktop.cdsi.returnAcisWithoutUaks');
|
||||
const isCDSI = isEnabled('desktop.cdsi');
|
||||
const isCDSI =
|
||||
isEnabled('desktop.cdsi') ||
|
||||
(isBeta(window.getVersion()) && isEnabled('desktop.cdsi.beta'));
|
||||
|
||||
const isMirroring = isEnabled('desktop.cdsi.mirroring');
|
||||
|
||||
log.info(
|
||||
|
|
Loading…
Reference in a new issue