Update libsignal-service-java

This commit is contained in:
AsamK 2019-07-13 14:22:20 +02:00
parent 35181251bf
commit 93ae4641fa
2 changed files with 3 additions and 3 deletions

View file

@ -190,9 +190,9 @@ public class Manager implements Signal {
accountManager = new SignalServiceAccountManager(BaseConfig.serviceConfiguration, account.getUsername(), account.getPassword(), BaseConfig.USER_AGENT, timer);
if (voiceVerification) {
accountManager.requestVoiceVerificationCode(Locale.getDefault(), Optional.<String>absent());
accountManager.requestVoiceVerificationCode(Locale.getDefault(), Optional.<String>absent(), Optional.<String>absent());
} else {
accountManager.requestSmsVerificationCode(false, Optional.<String>absent());
accountManager.requestSmsVerificationCode(false, Optional.<String>absent(), Optional.<String>absent());
}
account.setRegistered(false);