Fix standalone registration
This commit is contained in:
parent
6a98fc8278
commit
f8ae5556d9
2 changed files with 2 additions and 2 deletions
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue