Always visible arrows, new remote config
This commit is contained in:

committed by
Fedor Indutnyy

parent
381e53297b
commit
ec94cc182a
@@ -31,6 +31,7 @@ export type ConfigKeyType =
|
||||
| 'desktop.pnp'
|
||||
| 'desktop.retryRespondMaxAge'
|
||||
| 'desktop.safetyNumberAci'
|
||||
| 'desktop.safetyNumberAci.beta'
|
||||
| 'desktop.senderKey.retry'
|
||||
| 'desktop.senderKey.send'
|
||||
| 'desktop.senderKeyMaxAge'
|
||||
|
@@ -166,7 +166,15 @@ export const getSafetyNumberMode = createSelector(
|
||||
serverTimeSkew: number,
|
||||
now: number
|
||||
): SafetyNumberMode => {
|
||||
if (!isRemoteConfigFlagEnabled(remoteConfig, 'desktop.safetyNumberAci')) {
|
||||
if (
|
||||
!isRemoteConfigFlagEnabled(remoteConfig, 'desktop.safetyNumberAci') &&
|
||||
!(
|
||||
isRemoteConfigFlagEnabled(
|
||||
remoteConfig,
|
||||
'desktop.safetyNumberAci.beta'
|
||||
) && isBeta(window.getVersion())
|
||||
)
|
||||
) {
|
||||
return SafetyNumberMode.E164;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user