Fix arguments in MessageSenderWrapper (#2671)

This commit is contained in:
sachaaaaa 2019-04-09 03:22:06 +10:00 committed by Scott Nonnenberg
parent b2bdb73ce5
commit d99dc100a5

View file

@ -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