Pass all android.libsignal.* prefixed remote configs down automatically.

This commit is contained in:
andrew-signal
2025-09-17 11:09:57 -04:00
committed by Greyson Parrelli
parent 2a90809ba3
commit 16d6e98355
4 changed files with 46 additions and 11 deletions

View File

@@ -275,7 +275,7 @@ public class ApplicationDependencyProvider implements AppDependencies.Provider {
public @NonNull Network provideLibsignalNetwork(@NonNull SignalServiceConfiguration config) {
Network network = new Network(BuildConfig.LIBSIGNAL_NET_ENV, StandardUserAgentInterceptor.USER_AGENT);
LibSignalNetworkExtensions.applyConfiguration(network, config);
LibSignalNetworkExtensions.buildAndSetRemoteConfig(network, RemoteConfig.libsignalEnforceMinTlsVersion());
network.setRemoteConfig(RemoteConfig.getLibsignalConfigs());
return network;
}