]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/manager/Manager.java
Update dependencies
[signal-cli] / src / main / java / org / asamk / signal / manager / Manager.java
index e358fcb943913d029ed4aa844e67c677441e1b5d..94605632e26b6077a05c7065e86a9e66a048e79e 100644 (file)
@@ -189,9 +189,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());
+            accountManager.requestVoiceVerificationCode(Locale.getDefault(), Optional.<String>absent());
         } else {
-            accountManager.requestSmsVerificationCode(false);
+            accountManager.requestSmsVerificationCode(false, Optional.<String>absent());
         }
 
         account.setRegistered(false);