Update feature flags for text formatting for beta release
This commit is contained in:
parent
9ce0746f5b
commit
6f67a57e8a
2 changed files with 3 additions and 6 deletions
|
@ -27,16 +27,13 @@ export const getQuotedMessageSelector = createSelector(
|
|||
export const getIsFormattingFlagEnabled = createSelector(
|
||||
getRemoteConfig,
|
||||
remoteConfig => {
|
||||
return isRemoteConfigFlagEnabled(remoteConfig, 'desktop.textFormatting');
|
||||
return isRemoteConfigFlagEnabled(remoteConfig, 'desktop.internalUser');
|
||||
}
|
||||
);
|
||||
|
||||
export const getIsFormattingSpoilersFlagEnabled = createSelector(
|
||||
getRemoteConfig,
|
||||
remoteConfig => {
|
||||
return isRemoteConfigFlagEnabled(
|
||||
remoteConfig,
|
||||
'desktop.textFormatting.spoilerSend'
|
||||
);
|
||||
return isRemoteConfigFlagEnabled(remoteConfig, 'desktop.internalUser');
|
||||
}
|
||||
);
|
||||
|
|
|
@ -412,7 +412,7 @@ export function createIPCEvents(
|
|||
return window.IPC.setAutoLaunch(value);
|
||||
},
|
||||
|
||||
isFormattingFlagEnabled: () => isEnabled('desktop.textFormatting'),
|
||||
isFormattingFlagEnabled: () => isEnabled('desktop.internalUser'),
|
||||
isPhoneNumberSharingEnabled: () => isPhoneNumberSharingEnabled(),
|
||||
isPrimary: () => window.textsecure.storage.user.getDeviceId() === 1,
|
||||
shouldShowStoriesSettings: () => getStoriesAvailable(),
|
||||
|
|
Loading…
Reference in a new issue