Don't try to sync after single device registration
There's no other device to sync to. :p
This commit is contained in:
parent
2f12275cb9
commit
4fc4573de4
2 changed files with 2 additions and 6 deletions
|
@ -39378,9 +39378,7 @@ TextSecureServer = function () {
|
|||
return createAccount(number, verificationCode, identityKeyPair).
|
||||
then(function() { return generateKeys(100); }).
|
||||
then(TextSecureServer.registerKeys).
|
||||
then(textsecure.registration.done).
|
||||
then(textsecure.messaging.sendRequestContactSyncMessage).
|
||||
then(textsecure.messaging.sendRequestGroupSyncMessage);
|
||||
then(textsecure.registration.done);
|
||||
});
|
||||
},
|
||||
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
|
||||
|
|
|
@ -35,9 +35,7 @@
|
|||
return createAccount(number, verificationCode, identityKeyPair).
|
||||
then(function() { return generateKeys(100); }).
|
||||
then(TextSecureServer.registerKeys).
|
||||
then(textsecure.registration.done).
|
||||
then(textsecure.messaging.sendRequestContactSyncMessage).
|
||||
then(textsecure.messaging.sendRequestGroupSyncMessage);
|
||||
then(textsecure.registration.done);
|
||||
});
|
||||
},
|
||||
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
|
||||
|
|
Loading…
Reference in a new issue