Pass proxy down to libsignal Net instance

This commit is contained in:
Alex Bakon
2025-02-18 15:36:51 -05:00
committed by GitHub
parent 1e16c86fd0
commit aa8cc4d445
2 changed files with 7 additions and 10 deletions

View File

@@ -1726,6 +1726,10 @@ export function initialize({
certificateAuthority
);
libsignalNet.setIpv6Enabled(!disableIPv6);
if (proxyUrl) {
log.info('Setting libsignal proxy');
libsignalNet.setProxyFromUrl(proxyUrl);
}
// Thanks to function-hoisting, we can put this return statement before all of the
// below function definitions.