Support cds.disableCompatibilityMode
This commit is contained in:

committed by
Fedor Indutnyy

parent
a2b05333f7
commit
ba9f1a3e5e
@@ -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} ` +
|
||||
|
Reference in New Issue
Block a user