mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
MessageReceiver: Can't use arrow function if it is to be new'd
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user