diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 6960baf2e..863789ef8 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -39671,6 +39671,7 @@ function generateKeys(count, progressCallback) { this.addEventListener = messageReceiver.addEventListener.bind(messageReceiver); this.removeEventListener = messageReceiver.removeEventListener.bind(messageReceiver); this.getStatus = messageReceiver.getStatus.bind(messageReceiver); + this.close = messageReceiver.close.bind(messageReceiver); } textsecure.MessageReceiver.prototype = { diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index cad1f4593..3c7e44ab3 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -296,6 +296,7 @@ this.addEventListener = messageReceiver.addEventListener.bind(messageReceiver); this.removeEventListener = messageReceiver.removeEventListener.bind(messageReceiver); this.getStatus = messageReceiver.getStatus.bind(messageReceiver); + this.close = messageReceiver.close.bind(messageReceiver); } textsecure.MessageReceiver.prototype = {