mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-04 22:54:26 +01:00
Implement fetch messages
Uses a patched libtextsecure-java https://github.com/AsamK/libtextsecure-java/commits/master
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user