From 5bf608598c361cee06e82e420fc34d7aabd92500 Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 2 Oct 2015 15:02:25 -0700 Subject: [PATCH] Fix MessageSender prototype // FREEBIE --- js/libtextsecure.js | 4 ++-- libtextsecure/sendmessage.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/libtextsecure.js b/js/libtextsecure.js index e453b7f3..daebf462 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -40041,8 +40041,8 @@ textsecure.MessageSender = function(url, username, password) { this.leaveGroup = sender.leaveGroup .bind(sender); }; -textsecure.MessageReceiver.prototype = { - constructor: textsecure.MessageReceiver +textsecure.MessageSender.prototype = { + constructor: textsecure.MessageSender }; /* diff --git a/libtextsecure/sendmessage.js b/libtextsecure/sendmessage.js index 71c2d9cc..bc70ab94 100644 --- a/libtextsecure/sendmessage.js +++ b/libtextsecure/sendmessage.js @@ -441,6 +441,6 @@ textsecure.MessageSender = function(url, username, password) { this.leaveGroup = sender.leaveGroup .bind(sender); }; -textsecure.MessageReceiver.prototype = { - constructor: textsecure.MessageReceiver +textsecure.MessageSender.prototype = { + constructor: textsecure.MessageSender };