Don't try to sync after single device registration
There's no other device to sync to. :p
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user