mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Add feature flag for binary service id use
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
import { isTestOrMockEnvironment } from '../environment.std.js';
|
||||
import { isStagingServer } from './isStagingServer.dom.js';
|
||||
import { isFeaturedEnabledNoRedux } from './isFeatureEnabled.dom.js';
|
||||
|
||||
export function isProtoBinaryEncodingEnabled(): boolean {
|
||||
if (isTestOrMockEnvironment()) {
|
||||
@@ -13,6 +14,8 @@ export function isProtoBinaryEncodingEnabled(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
// TODO: DESKTOP-8938
|
||||
return false;
|
||||
return isFeaturedEnabledNoRedux({
|
||||
betaKey: 'desktop.binaryServiceId.beta',
|
||||
prodKey: 'desktop.binaryServiceId.prod',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user