mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 19:08:04 +01:00
Drop unneeded binds
There are no references to `this` in these functions. // FREEBIE
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user