Implement fetch messages

Uses a patched libtextsecure-java
https://github.com/AsamK/libtextsecure-java/commits/master
This commit is contained in:
AsamK 2015-12-31 13:17:41 +01:00
parent 239afa07e8
commit 43ec78594c
2 changed files with 2 additions and 2 deletions

View file

@ -239,7 +239,7 @@ class Manager implements TextSecure {
public void verifyAccount(String verificationCode) throws IOException {
verificationCode = verificationCode.replace("-", "");
signalingKey = Util.getSecret(52);
accountManager.verifyAccountWithCode(verificationCode, signalingKey, axolotlStore.getLocalRegistrationId(), false);
accountManager.verifyAccountWithCode(verificationCode, signalingKey, axolotlStore.getLocalRegistrationId(), false, true);
//accountManager.setGcmId(Optional.of(GoogleCloudMessaging.getInstance(this).register(REGISTRATION_ID)));
registered = true;