Drop unneeded binds
There are no references to `this` in these functions. // FREEBIE
This commit is contained in:
parent
7cbaac5590
commit
e1662f8537
2 changed files with 6 additions and 6 deletions
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue