Fix arguments in MessageSenderWrapper (#2671)

pull/272/head
sachaaaaa 6 years ago committed by Scott Nonnenberg
parent b2bdb73ce5
commit d99dc100a5

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

Loading…
Cancel
Save