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).
|
return createAccount(number, verificationCode, identityKeyPair).
|
||||||
then(function() { return generateKeys(100); }).
|
then(function() { return generateKeys(100); }).
|
||||||
then(TextSecureServer.registerKeys).
|
then(TextSecureServer.registerKeys).
|
||||||
then(textsecure.registration.done).
|
then(textsecure.registration.done);
|
||||||
then(textsecure.messaging.sendRequestContactSyncMessage).
|
|
||||||
then(textsecure.messaging.sendRequestGroupSyncMessage);
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
|
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
|
||||||
|
|
|
@ -35,9 +35,7 @@
|
||||||
return createAccount(number, verificationCode, identityKeyPair).
|
return createAccount(number, verificationCode, identityKeyPair).
|
||||||
then(function() { return generateKeys(100); }).
|
then(function() { return generateKeys(100); }).
|
||||||
then(TextSecureServer.registerKeys).
|
then(TextSecureServer.registerKeys).
|
||||||
then(textsecure.registration.done).
|
then(textsecure.registration.done);
|
||||||
then(textsecure.messaging.sendRequestContactSyncMessage).
|
|
||||||
then(textsecure.messaging.sendRequestGroupSyncMessage);
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
|
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue