File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const KnownConfigKeys = [
3838 'desktop.libsignalNet.shadowUnauthChatWithNoise' ,
3939 'desktop.libsignalNet.shadowAuthChatWithNoise' ,
4040 'desktop.libsignalNet.chatPermessageDeflate' ,
41+ 'desktop.libsignalNet.chatPermessageDeflate.prod' ,
4142 'desktop.funPicker' , // alpha
4243 'desktop.funPicker.beta' ,
4344 'desktop.funPicker.prod' ,
Original file line number Diff line number Diff line change @@ -2054,11 +2054,10 @@ export function initialize({
20542054 log . info ( 'libsignal net will shadow auth chat connections' ) ;
20552055 libsignalRemoteConfig . set ( 'shadowAuthChatWithNoise' , 'true' ) ;
20562056 }
2057- if (
2058- window . Signal . RemoteConfig . isEnabled (
2059- 'desktop.libsignalNet.chatPermessageDeflate'
2060- )
2061- ) {
2057+ const perMessageDeflateConfigKey = isProduction ( version )
2058+ ? 'desktop.libsignalNet.chatPermessageDeflate.prod'
2059+ : 'desktop.libsignalNet.chatPermessageDeflate' ;
2060+ if ( window . Signal . RemoteConfig . isEnabled ( perMessageDeflateConfigKey ) ) {
20622061 libsignalRemoteConfig . set ( 'chatPermessageDeflate' , 'true' ) ;
20632062 }
20642063 libsignalNet . setRemoteConfig ( libsignalRemoteConfig ) ;
You can’t perform that action at this time.
0 commit comments