Skip to content

Commit

Permalink
Fix arguments in MessageSenderWrapper (#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaaaaa authored and scottnonnenberg-signal committed Apr 8, 2019
1 parent b2bdb73 commit d99dc10
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libtextsecure/sendmessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d99dc10

Please sign in to comment.