MessageReceiver: Can't use arrow function if it is to be new'd

pull/1/head
Scott Nonnenberg 7 years ago
parent e99192dca7
commit d5043eb9cf
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

@ -1025,7 +1025,13 @@ MessageReceiver.prototype.extend({
window.textsecure = window.textsecure || {};
textsecure.MessageReceiver = (url, username, password, signalingKey, options) => {
textsecure.MessageReceiver = function MessageReceiverWrapper(
url,
username,
password,
signalingKey,
options
) {
const messageReceiver = new MessageReceiver(
url,
username,

Loading…
Cancel
Save