This commit is contained in:
Travis CI 2016-12-27 00:05:09 +00:00
parent 44602e9fb9
commit a3df125ebe
2 changed files with 9 additions and 3 deletions

View file

@ -21845,8 +21845,14 @@ class WebSocketPacketManager {
}
if (packet.op === Constants.OPCodes.INVALID_SESSION) {
this.ws.sessionID = null;
this.ws._sendNewIdentify();
if (packet.d) {
setTimeout(() => {
this.ws._sendResume();
}, 2500);
} else {
this.ws.sessionID = null;
this.ws._sendNewIdentify();
}
return false;
}

File diff suppressed because one or more lines are too long