]> nmode's Git Repositories - signal-cli/commitdiff
Fix typo
authorAsamK <asamk@gmx.de>
Fri, 8 Jul 2016 09:32:50 +0000 (11:32 +0200)
committerAsamK <asamk@gmx.de>
Fri, 8 Jul 2016 09:35:19 +0000 (11:35 +0200)
src/main/java/org/asamk/signal/Manager.java

index 69800a82948938f2c8f889a2f0178767001896a4..7672e19c4d70220a226bd9b618925bfa1668bbe1 100644 (file)
@@ -274,12 +274,12 @@ class Manager implements Signal {
         return registered;
     }
 
-    public void register(boolean voiceVerication) throws IOException {
+    public void register(boolean voiceVerification) throws IOException {
         password = Util.getSecret(18);
 
         accountManager = new SignalServiceAccountManager(URL, TRUST_STORE, username, password, USER_AGENT);
 
-        if (voiceVerication)
+        if (voiceVerification)
             accountManager.requestVoiceVerificationCode();
         else
             accountManager.requestSmsVerificationCode();