first pass at nip42 authentication #93
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user