connection: Fix typo
This fixes anonymous logins
This commit is contained in:
parent
dd155220f0
commit
5162f3f674
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user