diff --git a/build.gradle b/build.gradle index 65774e8c..2e3252fa 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ repositories { } dependencies { - compile 'org.whispersystems:textsecure-java:1.7.0' + compile 'org.whispersystems:textsecure-java:1.8.0' compile 'com.madgag.spongycastle:prov:1.52.0.0' compile 'org.json:json:20141113' compile 'commons-io:commons-io:2.4' diff --git a/src/main/java/cli/Manager.java b/src/main/java/cli/Manager.java index 10291f20..3f9237fb 100644 --- a/src/main/java/cli/Manager.java +++ b/src/main/java/cli/Manager.java @@ -203,7 +203,7 @@ class Manager { public void verifyAccount(String verificationCode) throws IOException { verificationCode = verificationCode.replace("-", ""); signalingKey = Util.getSecret(52); - accountManager.verifyAccountWithCode(verificationCode, signalingKey, axolotlStore.getLocalRegistrationId()); + accountManager.verifyAccountWithCode(verificationCode, signalingKey, axolotlStore.getLocalRegistrationId(), false); //accountManager.setGcmId(Optional.of(GoogleCloudMessaging.getInstance(this).register(REGISTRATION_ID))); registered = true;