mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update textsecure-java to 1.8.0
This commit is contained in:
parent
a6f65ae3a0
commit
b91abad2b5
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue