Make LibSignalChatConnection Only Use Each ChatService Once

This commit is contained in:
andrew-signal
2024-11-20 12:05:11 -05:00
committed by Greyson Parrelli
parent 040d05a0a6
commit 1401256ffd
3 changed files with 165 additions and 84 deletions

View File

@@ -434,7 +434,9 @@ public class ApplicationDependencyProvider implements AppDependencies.Provider {
Network network = libSignalNetworkSupplier.get();
return new LibSignalChatConnection(
"libsignal-unauth",
LibSignalNetworkExtensions.createChatService(network, null, Stories.isFeatureEnabled()),
network,
null,
Stories.isFeatureEnabled(),
healthMonitor);
} else {
return new OkHttpWebSocketConnection("unidentified",