From 734d5b65ba96c5a11c06f3d6e36d777ba888b94a Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 1 Jul 2015 19:39:05 +0200 Subject: [PATCH] Bugfix. Didn't add "bind". --- converse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/converse.js b/converse.js index 9e7e65bcc..e18700613 100644 --- a/converse.js +++ b/converse.js @@ -5079,7 +5079,7 @@ $(item).attr('jid'), null, this.onInfo.bind(this)); - }(this)); + }.bind(this)); }, onInfo: function (stanza) { @@ -5096,7 +5096,7 @@ 'var': namespace, 'from': $stanza.attr('from') }); - }(this)); + }.bind(this)); } });