Adds a missing this.

This commit is contained in:
Lyubomir Marinov 2016-01-26 10:12:43 -06:00
parent 4a0169223e
commit ef7c97dc17
1 changed files with 1 additions and 1 deletions

View File

@ -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;