Permalink
Browse files

Drop pre-RFC XMPP over WebSocket

  • Loading branch information...
legastero committed Nov 29, 2018
1 parent dec59da commit dbb2f89b25c74e6c6495a65817fa097418b8d71b
Showing with 2 additions and 106 deletions.
  1. +1 −0 CHANGELOG.md
  2. +1 −2 src/client.js
  3. +0 −5 src/plugins/oldwebsocket.js
  4. +0 −99 src/transports/old-websocket.js
@@ -8,6 +8,7 @@
- SASL mech implementations now live inside `stanza.io`.
- Moved host-meta fetching logic into `stanza.io`.
- Use `ws` module instead of `faye-websocket`.
- Dropped support of old, pre-RFC XMPP-over-WebSocket.
## 9.1.0 -> 9.2.0
@@ -274,9 +274,8 @@ export default class Client extends WildEmitter {
transInfo.name = this.config.transports[0];
}
if (transInfo && transInfo.name) {
if (transInfo.name === 'websocket' || transInfo.name === 'old-websocket') {
if (transInfo.name === 'websocket') {
this.use(require('./plugins/websocket').default);
this.use(require('./plugins/oldwebsocket').default);
}
if (transInfo.name === 'bosh') {
this.use(require('./plugins/bosh').default);

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

0 comments on commit dbb2f89

Please sign in to comment.