Update textsecure-java to 1.8.0

This commit is contained in:
AsamK 2015-09-22 12:45:11 +02:00
parent a6f65ae3a0
commit b91abad2b5
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ repositories {
} }
dependencies { 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 'com.madgag.spongycastle:prov:1.52.0.0'
compile 'org.json:json:20141113' compile 'org.json:json:20141113'
compile 'commons-io:commons-io:2.4' compile 'commons-io:commons-io:2.4'

View file

@ -203,7 +203,7 @@ class Manager {
public void verifyAccount(String verificationCode) throws IOException { public void verifyAccount(String verificationCode) throws IOException {
verificationCode = verificationCode.replace("-", ""); verificationCode = verificationCode.replace("-", "");
signalingKey = Util.getSecret(52); 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))); //accountManager.setGcmId(Optional.of(GoogleCloudMessaging.getInstance(this).register(REGISTRATION_ID)));
registered = true; registered = true;