Standardize feature flag for internal testing
This commit is contained in:
parent
0af53ef120
commit
ebb87b12d5
3 changed files with 3 additions and 3 deletions
|
@ -11,6 +11,7 @@ export type ConfigKeyType =
|
|||
| 'desktop.disableGV1'
|
||||
| 'desktop.groupCalling'
|
||||
| 'desktop.gv2'
|
||||
| 'desktop.internalUser'
|
||||
| 'desktop.mandatoryProfileSharing'
|
||||
| 'desktop.mediaQuality.levels'
|
||||
| 'desktop.messageRequests'
|
||||
|
@ -22,7 +23,6 @@ export type ConfigKeyType =
|
|||
| 'desktop.sendSenderKey2'
|
||||
| 'desktop.storage'
|
||||
| 'desktop.storageWrite3'
|
||||
| 'desktop.worksAtSignal'
|
||||
| 'global.groupsv2.groupSizeHardLimit'
|
||||
| 'global.groupsv2.maxGroupSize';
|
||||
type ConfigValueType = {
|
||||
|
|
|
@ -5,7 +5,7 @@ import * as RemoteConfig from '../RemoteConfig';
|
|||
|
||||
export function isAnnouncementGroupReady(): boolean {
|
||||
return Boolean(
|
||||
RemoteConfig.isEnabled('desktop.worksAtSignal') ||
|
||||
RemoteConfig.isEnabled('desktop.internalUser') ||
|
||||
RemoteConfig.isEnabled('desktop.announcementGroup')
|
||||
);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ export function isScreenSharingEnabled(): boolean {
|
|||
const version = window.getVersion?.();
|
||||
|
||||
return Boolean(
|
||||
RemoteConfig.isEnabled('desktop.worksAtSignal') ||
|
||||
RemoteConfig.isEnabled('desktop.internalUser') ||
|
||||
RemoteConfig.isEnabled('desktop.screensharing2') ||
|
||||
(version && isBeta(version))
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue