MessageReceiver: Can't use arrow function if it is to be new'd
This commit is contained in:
parent
e99192dca7
commit
d5043eb9cf
1 changed files with 7 additions and 1 deletions
|
@ -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…
Reference in a new issue