From d99dc100a5340b16720500b70a35e607685d33e6 Mon Sep 17 00:00:00 2001 From: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com> Date: Tue, 9 Apr 2019 03:22:06 +1000 Subject: [PATCH] Fix arguments in MessageSenderWrapper (#2671) --- libtextsecure/sendmessage.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libtextsecure/sendmessage.js b/libtextsecure/sendmessage.js index f6958d6f4..2eae8a660 100644 --- a/libtextsecure/sendmessage.js +++ b/libtextsecure/sendmessage.js @@ -1086,12 +1086,10 @@ MessageSender.prototype = { window.textsecure = window.textsecure || {}; textsecure.MessageSender = function MessageSenderWrapper( - url, username, password, - cdnUrl ) { - const sender = new MessageSender(url, username, password, cdnUrl); + const sender = new MessageSender(username, password); this.sendExpirationTimerUpdateToNumber = sender.sendExpirationTimerUpdateToNumber.bind( sender