mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Remove unnecessary config field
This commit is contained in:
parent
edce33ae15
commit
d4e1f9b7f1
1 changed files with 1 additions and 4 deletions
|
@ -3,7 +3,6 @@ package org.asamk.signal.manager.helper;
|
|||
import org.asamk.signal.manager.api.RecipientIdentifier;
|
||||
import org.asamk.signal.manager.api.UnregisteredRecipientException;
|
||||
import org.asamk.signal.manager.api.UsernameLinkUrl;
|
||||
import org.asamk.signal.manager.config.ServiceEnvironmentConfig;
|
||||
import org.asamk.signal.manager.internal.SignalDependencies;
|
||||
import org.asamk.signal.manager.storage.SignalAccount;
|
||||
import org.asamk.signal.manager.storage.recipients.RecipientId;
|
||||
|
@ -34,12 +33,10 @@ public class RecipientHelper {
|
|||
|
||||
private final SignalAccount account;
|
||||
private final SignalDependencies dependencies;
|
||||
private final ServiceEnvironmentConfig serviceEnvironmentConfig;
|
||||
|
||||
public RecipientHelper(final Context context) {
|
||||
this.account = context.getAccount();
|
||||
this.dependencies = context.getDependencies();
|
||||
this.serviceEnvironmentConfig = dependencies.getServiceEnvironmentConfig();
|
||||
}
|
||||
|
||||
public SignalServiceAddress resolveSignalServiceAddress(RecipientId recipientId) {
|
||||
|
@ -234,7 +231,7 @@ public class RecipientHelper {
|
|||
newNumbers,
|
||||
account.getRecipientStore().getServiceIdToProfileKeyMap(),
|
||||
token,
|
||||
serviceEnvironmentConfig.cdsiMrenclave(),
|
||||
dependencies.getServiceEnvironmentConfig().cdsiMrenclave(),
|
||||
null,
|
||||
dependencies.getServiceEnvironmentConfig().netEnvironment(),
|
||||
newToken -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue