From 25c5177d9e32a9918ddf1ab9727f26c7319b8eb3 Mon Sep 17 00:00:00 2001 From: hissinger Date: Sun, 13 Oct 2024 16:50:30 +0900 Subject: [PATCH] fix: send OPEN message when client reconnects --- src/services/webSocketServer/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/webSocketServer/index.ts b/src/services/webSocketServer/index.ts index 7d93f8185..93d9350e0 100644 --- a/src/services/webSocketServer/index.ts +++ b/src/services/webSocketServer/index.ts @@ -100,6 +100,7 @@ export class WebSocketServer extends EventEmitter implements IWebSocketServer { return; } + socket.send(JSON.stringify({ type: MessageType.OPEN })); this._configureWS(socket, client); return; }