Support cds.disableCompatibilityMode
This commit is contained in:
parent
a2b05333f7
commit
ba9f1a3e5e
3 changed files with 7 additions and 2 deletions
|
@ -14,6 +14,7 @@ import { HashType } from './types/Crypto';
|
|||
import { getCountryCode } from './types/PhoneNumber';
|
||||
|
||||
export type ConfigKeyType =
|
||||
| 'cds.disableCompatibilityMode'
|
||||
| 'desktop.announcementGroup'
|
||||
| 'desktop.calling.audioLevelForSpeaking'
|
||||
| 'desktop.cdsi.returnAcisWithoutUaks'
|
||||
|
|
|
@ -1522,7 +1522,9 @@ export function initialize({
|
|||
...res,
|
||||
config: res.config.filter(
|
||||
({ name }: { name: string }) =>
|
||||
name.startsWith('desktop.') || name.startsWith('global.')
|
||||
name.startsWith('desktop.') ||
|
||||
name.startsWith('global.') ||
|
||||
name.startsWith('cds.')
|
||||
),
|
||||
};
|
||||
}
|
||||
|
|
|
@ -38,7 +38,9 @@ export async function getUuidsForE164s(
|
|||
accessKeys.push(accessKey);
|
||||
}
|
||||
|
||||
const returnAcisWithoutUaks = isEnabled('desktop.cdsi.returnAcisWithoutUaks');
|
||||
const returnAcisWithoutUaks =
|
||||
!isEnabled('cds.disableCompatibilityMode') &&
|
||||
isEnabled('desktop.cdsi.returnAcisWithoutUaks');
|
||||
|
||||
log.info(
|
||||
`getUuidsForE164s(${e164s}): acis=${acis.length} ` +
|
||||
|
|
Loading…
Reference in a new issue