could not send auth

This commit is contained in:
Liran Cohen 2023-01-23 21:52:52 -05:00
parent e69b8011e9
commit a71e3f47c7
No known key found for this signature in database
GPG Key ID: 948C15655A7915C5

View File

@ -328,10 +328,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;