]> nmode's Git Repositories - signal-cli/commitdiff
Update textsecure-java to 1.8.0
authorAsamK <asamk@gmx.de>
Tue, 22 Sep 2015 10:45:11 +0000 (12:45 +0200)
committerAsamK <asamk@gmx.de>
Tue, 22 Sep 2015 10:45:11 +0000 (12:45 +0200)
build.gradle
src/main/java/cli/Manager.java

index 65774e8c150cfa623dde06037e0ba91799b8cb1c..2e3252fa1d40dfefc9d161d708605b2e314f0612 100644 (file)
@@ -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'
index 10291f207ae918c22925ef475383b51d8a4c81d2..3f9237fb3839b483db6bb18b684a1dc1daf1e517 100644 (file)
@@ -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;