Enable libsignal CDSI connect logic by default

This commit is contained in:
Alex Bakon
2025-03-12 11:53:31 -04:00
committed by GitHub
parent b164bc6128
commit f4be6f6932
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ export type ConfigKeyType =
| 'desktop.experimentalTransportEnabled.beta' | 'desktop.experimentalTransportEnabled.beta'
| 'desktop.experimentalTransportEnabled.prod' | 'desktop.experimentalTransportEnabled.prod'
| 'desktop.cdsiViaLibsignal' | 'desktop.cdsiViaLibsignal'
| 'desktop.cdsiViaLibsignal.libsignalRouteBasedCDSILookup' | 'desktop.cdsiViaLibsignal.disableNewConnectionLogic'
| 'desktop.funPicker' | 'desktop.funPicker'
| 'desktop.releaseNotes' | 'desktop.releaseNotes'
| 'desktop.releaseNotes.beta' | 'desktop.releaseNotes.beta'

View File

@@ -121,8 +121,8 @@ export abstract class CDSSocketManagerBase<
try { try {
log.info('CDSSocketManager: starting lookup request'); log.info('CDSSocketManager: starting lookup request');
const useNewConnectLogic = window.Signal.RemoteConfig.isEnabled( const useNewConnectLogic = !window.Signal.RemoteConfig.isEnabled(
'desktop.cdsiViaLibsignal.libsignalRouteBasedCDSILookup' 'desktop.cdsiViaLibsignal.disableNewConnectionLogic'
); );
const { timeout = REQUEST_TIMEOUT } = options; const { timeout = REQUEST_TIMEOUT } = options;
const response = await pTimeout( const response = await pTimeout(