Pass proxy down to libsignal Net instance
This commit is contained in:
parent
1e16c86fd0
commit
aa8cc4d445
2 changed files with 7 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue