From ef7c97dc17542804fef20fef306db6f3a007d792 Mon Sep 17 00:00:00 2001 From: Lyubomir Marinov Date: Tue, 26 Jan 2016 10:12:43 -0600 Subject: [PATCH] Adds a missing this. --- modules/xmpp/xmpp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.js index 594db7074..f6e8c3579 100644 --- a/modules/xmpp/xmpp.js +++ b/modules/xmpp/xmpp.js @@ -64,7 +64,7 @@ function XMPP(options) { this.connection = createConnection(options.bosh); } -XMPP.prototype.getConnection = function () { return connection; }; +XMPP.prototype.getConnection = function () { return this.connection; }; XMPP.prototype._connect = function (jid, password) { var self = this;