Commit 5162f3f6 authored by JC Brand's avatar JC Brand

connection: Fix typo

This fixes anonymous logins
parent dd155220
......@@ -314,7 +314,7 @@ export class Connection extends Strophe.Connection {
if (type.toLowerCase() === 'websocket') {
return this._proto instanceof Strophe.Websocket;
} else if (type.toLowerCase() === 'bosh') {
return Strophe.BOSH && this._proto instanceof Strophe.Bosh;
return Strophe.Bosh && this._proto instanceof Strophe.Bosh;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment