Revert "add auth session change handling" (#1342)

* Revert "User settings (#1337)"

This reverts commit 801633b970.

* Revert "add auth session change handling (#1339)"

This reverts commit 5d85de0883.
This commit is contained in:
Crawl
2017-04-06 13:50:31 +02:00
committed by GitHub
parent 801633b970
commit d1d8179460
2 changed files with 0 additions and 13 deletions

View File

@@ -72,16 +72,6 @@ class WebSocketPacketManager {
}
handle(packet) {
if (packet.t === Constants.WSEvents.AUTH_SESSION_CHANGE) {
if (packet.d.new_token) {
this.client.token = packet.d.new_token;
this.ws._sendResume();
} else {
this.client.destroy();
return false;
}
}
if (packet.op === Constants.OPCodes.RECONNECT) {
this.setSequence(packet.s);
this.ws.tryReconnect();