Update to and integrate with libsignal v0.69.0.

This commit is contained in:
andrew-signal
2025-04-03 09:38:36 -04:00
committed by Michelle Tang
parent 7a5790a6ce
commit 5b04107447
7 changed files with 35 additions and 28 deletions

View File

@@ -97,8 +97,7 @@ object ContactDiscoveryRefreshV2 {
serviceIds = SignalDatabase.recipients.getAllServiceIdProfileKeyPairs(),
token = Optional.empty(),
timeoutMs = 10_000,
libsignalNetwork = AppDependencies.libsignalNetwork,
useLibsignalRouteBasedCDSIConnectionLogic = RemoteConfig.libsignalRouteBasedCDSILookup
libsignalNetwork = AppDependencies.libsignalNetwork
) {
Log.i(TAG, "Ignoring token for one-off lookup.")
}
@@ -176,8 +175,7 @@ object ContactDiscoveryRefreshV2 {
serviceIds = SignalDatabase.recipients.getAllServiceIdProfileKeyPairs(),
token = Optional.ofNullable(token),
timeoutMs = timeoutMs,
libsignalNetwork = AppDependencies.libsignalNetwork,
useLibsignalRouteBasedCDSIConnectionLogic = RemoteConfig.libsignalRouteBasedCDSILookup
libsignalNetwork = AppDependencies.libsignalNetwork
) { tokenToSave ->
stopwatch.split("network-pre-token")
if (!isPartialRefresh) {