diff --git a/lib/src/main/java/org/asamk/signal/manager/internal/SignalDependencies.java b/lib/src/main/java/org/asamk/signal/manager/internal/SignalDependencies.java index feb61d1c..54f7f90a 100644 --- a/lib/src/main/java/org/asamk/signal/manager/internal/SignalDependencies.java +++ b/lib/src/main/java/org/asamk/signal/manager/internal/SignalDependencies.java @@ -185,7 +185,7 @@ public class SignalDependencies { public SignalServiceMessageReceiver getMessageReceiver() { return getOrCreate(() -> messageReceiver, - () -> messageReceiver = new SignalServiceMessageReceiver(pushServiceSocket)); + () -> messageReceiver = new SignalServiceMessageReceiver(getPushServiceSocket())); } public SignalServiceMessageSender getMessageSender() { @@ -197,7 +197,7 @@ public class SignalDependencies { Optional.empty(), executor, ServiceConfig.MAX_ENVELOPE_SIZE, - pushServiceSocket)); + getPushServiceSocket())); } public List getSecureValueRecoveryV2() {