Fix some issues with websockets and encoding

This commit is contained in:
David Majdandžić
2023-03-31 23:16:02 +02:00
parent a5ecf37752
commit 61de0b2a2c
6 changed files with 20 additions and 14 deletions

View File

@@ -39,6 +39,7 @@ export class WSServer {
let clientSet: ClientSet | undefined = this.clients.find((clientSet: ClientSet) => clientSet.identifier === message);
if (!clientSet) {
clientSet = new ClientSet(message, this.sessionManagers);
this.clients.push(clientSet);
}
clientSet.add(ws);
}