diff --git a/js/libtextsecure.js b/js/libtextsecure.js index e5766de5..64144bf2 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -37952,8 +37952,8 @@ var TextSecureServer = (function() { then(generateKeys). then(registerKeys). then(registrationDone); - }.bind(this)); - }.bind(this)); + }); + }); }, registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) { var createAccount = this.createAccount.bind(this); @@ -38024,7 +38024,7 @@ var TextSecureServer = (function() { if (preKeyCount < 10) { return generateKeys().then(registerKeys); } - }.bind(this)); + }); }.bind(this)); }, rotateSignedPreKey: function() { diff --git a/libtextsecure/account_manager.js b/libtextsecure/account_manager.js index f899069d..d25a17be 100644 --- a/libtextsecure/account_manager.js +++ b/libtextsecure/account_manager.js @@ -34,8 +34,8 @@ then(generateKeys). then(registerKeys). then(registrationDone); - }.bind(this)); - }.bind(this)); + }); + }); }, registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) { var createAccount = this.createAccount.bind(this); @@ -106,7 +106,7 @@ if (preKeyCount < 10) { return generateKeys().then(registerKeys); } - }.bind(this)); + }); }.bind(this)); }, rotateSignedPreKey: function() {