mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Remove now unnecessary try/catch
This commit is contained in:
parent
20effab656
commit
32fdd382bd
1 changed files with 2 additions and 7 deletions
|
@ -76,13 +76,8 @@ public class ProvisioningManagerImpl implements ProvisioningManager {
|
||||||
|
|
||||||
tempIdentityKey = KeyUtils.generateIdentityKeyPair();
|
tempIdentityKey = KeyUtils.generateIdentityKeyPair();
|
||||||
password = KeyUtils.createPassword();
|
password = KeyUtils.createPassword();
|
||||||
GroupsV2Operations groupsV2Operations;
|
GroupsV2Operations groupsV2Operations = new GroupsV2Operations(ClientZkOperations.create(
|
||||||
try {
|
serviceEnvironmentConfig.signalServiceConfiguration()), ServiceConfig.GROUP_MAX_SIZE);
|
||||||
groupsV2Operations = new GroupsV2Operations(ClientZkOperations.create(serviceEnvironmentConfig.signalServiceConfiguration()),
|
|
||||||
ServiceConfig.GROUP_MAX_SIZE);
|
|
||||||
} catch (Throwable ignored) {
|
|
||||||
groupsV2Operations = null;
|
|
||||||
}
|
|
||||||
accountManager = new SignalServiceAccountManager(serviceEnvironmentConfig.signalServiceConfiguration(),
|
accountManager = new SignalServiceAccountManager(serviceEnvironmentConfig.signalServiceConfiguration(),
|
||||||
new DynamicCredentialsProvider(null, null, null, password, SignalServiceAddress.DEFAULT_DEVICE_ID),
|
new DynamicCredentialsProvider(null, null, null, password, SignalServiceAddress.DEFAULT_DEVICE_ID),
|
||||||
userAgent,
|
userAgent,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue