Fix arguments in MessageSenderWrapper (#2671)
This commit is contained in:

committed by
Scott Nonnenberg

parent
b2bdb73ce5
commit
d99dc100a5
@@ -1086,12 +1086,10 @@ MessageSender.prototype = {
|
|||||||
window.textsecure = window.textsecure || {};
|
window.textsecure = window.textsecure || {};
|
||||||
|
|
||||||
textsecure.MessageSender = function MessageSenderWrapper(
|
textsecure.MessageSender = function MessageSenderWrapper(
|
||||||
url,
|
|
||||||
username,
|
username,
|
||||||
password,
|
password,
|
||||||
cdnUrl
|
|
||||||
) {
|
) {
|
||||||
const sender = new MessageSender(url, username, password, cdnUrl);
|
const sender = new MessageSender(username, password);
|
||||||
|
|
||||||
this.sendExpirationTimerUpdateToNumber = sender.sendExpirationTimerUpdateToNumber.bind(
|
this.sendExpirationTimerUpdateToNumber = sender.sendExpirationTimerUpdateToNumber.bind(
|
||||||
sender
|
sender
|
||||||
|
Reference in New Issue
Block a user