Fix standalone registration page

This commit is contained in:
lilia 2015-03-18 18:14:21 -07:00
parent 9930937707
commit 84237cae6f

View file

@ -106,7 +106,7 @@
number, verificationCode, password, signalingKey, registrationId, true number, verificationCode, password, signalingKey, registrationId, true
).then(function() { ).then(function() {
log('generating keys'); log('generating keys');
return axolotl.protocol.generateKeys().then(function(keys) { return textsecure.protocol_wrapper.generateKeys().then(function(keys) {
log('uploading keys'); log('uploading keys');
return textsecure.api.registerKeys(keys).then(function() { return textsecure.api.registerKeys(keys).then(function() {
textsecure.registration.done(); textsecure.registration.done();