Upgrade libsignal-client to 0.46.2

This commit is contained in:
Fedor Indutny 2024-05-17 11:00:34 -07:00 committed by GitHub
parent e624288b1b
commit d4ca4d0a6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 312 additions and 14 deletions

View file

@ -1531,7 +1531,7 @@ export function initialize({
libsignalNetEnvironment
);
log.info(`libsignal net environment resolved to [${Net.Environment[env]}]`);
const libsignalNet = new Net.Net(env);
const libsignalNet = new Net.Net(env, getUserAgent(version));
libsignalNet.setIpv6Enabled(!disableIPv6);
// Thanks to function-hoisting, we can put this return statement before all of the