From 0f4531589565cb3f65d4d766971a866882d13c0a Mon Sep 17 00:00:00 2001 From: sehee Date: Tue, 29 Jul 2025 15:46:16 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20=EC=83=88=EB=A1=9C=EA=B3=A0=EC=B9=A8=20?= =?UTF-8?q?=EC=8B=9C=20connected=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/game/websocket/controller/GameSocketController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/f1/backend/domain/game/websocket/controller/GameSocketController.java b/backend/src/main/java/io/f1/backend/domain/game/websocket/controller/GameSocketController.java index f53da1b5..91884cc9 100644 --- a/backend/src/main/java/io/f1/backend/domain/game/websocket/controller/GameSocketController.java +++ b/backend/src/main/java/io/f1/backend/domain/game/websocket/controller/GameSocketController.java @@ -10,6 +10,7 @@ import io.f1.backend.domain.game.dto.request.QuizChangeRequest; import io.f1.backend.domain.game.dto.request.RoundChangeRequest; import io.f1.backend.domain.game.dto.request.TimeLimitChangeRequest; +import io.f1.backend.domain.game.model.ConnectionState; import io.f1.backend.domain.user.dto.UserPrincipal; import lombok.RequiredArgsConstructor; @@ -38,7 +39,7 @@ public void initializeRoomSocket(@DestinationVariable Long roomId, Message me public void reconnect(@DestinationVariable Long roomId, Message message) { UserPrincipal principal = getSessionUser(message); - + roomService.changeConnectedStatus(principal.getUserId(), ConnectionState.CONNECTED); roomService.reconnectSendResponse(roomId, principal); }