mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
Webpack build: b79533e373
This commit is contained in:
parent
44602e9fb9
commit
a3df125ebe
2 changed files with 9 additions and 3 deletions
|
|
@ -21845,8 +21845,14 @@ class WebSocketPacketManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (packet.op === Constants.OPCodes.INVALID_SESSION) {
|
if (packet.op === Constants.OPCodes.INVALID_SESSION) {
|
||||||
this.ws.sessionID = null;
|
if (packet.d) {
|
||||||
this.ws._sendNewIdentify();
|
setTimeout(() => {
|
||||||
|
this.ws._sendResume();
|
||||||
|
}, 2500);
|
||||||
|
} else {
|
||||||
|
this.ws.sessionID = null;
|
||||||
|
this.ws._sendNewIdentify();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
discord.indev.min.js
vendored
2
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue