could not send auth

This commit is contained in:
Liran Cohen 2023-01-23 21:52:52 -05:00 committed by Kieran
parent 822247e1fa
commit 97a467260d
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -345,10 +345,6 @@ export default class Connection {
}
_SendJson(obj: any) {
if(!this.Authed && this.AwaitingAuth.size > 0) {
this.Pending.push(obj);
return;
}
if (this.Socket?.readyState !== WebSocket.OPEN) {
this.Pending.push(obj);
return;