Don't try to sync after single device registration

There's no other device to sync to. :p
This commit is contained in:
lilia 2015-07-31 11:11:22 -07:00
parent 2f12275cb9
commit 4fc4573de4
2 changed files with 2 additions and 6 deletions

View file

@ -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) {

View file

@ -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) {