Skip to content

Commit 876f3f5

Browse files
skyeong42seoyeonson
authored andcommitted
Feat: 웹소켓 handler 수정
1 parent f11faf2 commit 876f3f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/cmf/commitField/global/websocket/ChatWebSocketHandler.java

-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ private void handleChatMessage(WebSocketSession session, JsonNode jsonNode) {
200200
wsMessage.put("type", "CHAT");
201201
wsMessage.put("roomId", roomId);
202202
wsMessage.put("userId", userId);
203-
wsMessage.put("chatMsgId", response.getChatMsgId()); // DB에 저장된 메시지 ID 추가
204203
wsMessage.put("from", response.getFrom());
205204
wsMessage.put("nickname", response.getFrom()); // 클라이언트 호환성을 위해 두 필드 모두 설정
206205
wsMessage.put("message", message);

0 commit comments

Comments
 (0)