mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
Call getter instead of using cached instance variable
This commit is contained in:
parent
65adfdd6f5
commit
52bb92dce4
1 changed files with 2 additions and 2 deletions
|
@ -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<SecureValueRecovery> getSecureValueRecoveryV2() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue