Fix standalone registration

This commit is contained in:
lilia 2015-07-06 12:45:09 -07:00
parent 6a98fc8278
commit f8ae5556d9
2 changed files with 2 additions and 2 deletions

View file

@ -39353,7 +39353,7 @@ TextSecureServer = function () {
},
registerSingleDevice: function(number, verificationCode) {
return axolotl.util.generateIdentityKeyPair().then(function(identityKeyPair) {
return createAccount(number, verificationCode, identityKeyPair, true).
return createAccount(number, verificationCode, identityKeyPair).
then(function() { return generateKeys(100); }).
then(TextSecureServer.registerKeys).
then(textsecure.registration.done).

View file

@ -32,7 +32,7 @@
},
registerSingleDevice: function(number, verificationCode) {
return axolotl.util.generateIdentityKeyPair().then(function(identityKeyPair) {
return createAccount(number, verificationCode, identityKeyPair, true).
return createAccount(number, verificationCode, identityKeyPair).
then(function() { return generateKeys(100); }).
then(TextSecureServer.registerKeys).
then(textsecure.registration.done).