From 6b170f50e4f7610891eefe86dc022257c117f4b8 Mon Sep 17 00:00:00 2001 From: sungjiwoon Date: Thu, 25 Jan 2024 00:47:29 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20code=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/catchroom/chat/message/service/ChatService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/catchroom/chat/message/service/ChatService.java b/src/main/java/com/catchroom/chat/message/service/ChatService.java index f2cb504..105a8e1 100644 --- a/src/main/java/com/catchroom/chat/message/service/ChatService.java +++ b/src/main/java/com/catchroom/chat/message/service/ChatService.java @@ -41,7 +41,6 @@ public String getRoomId(String destination) { * 채팅방에 메시지 발송 */ public void sendChatMessage(ChatMessageDto chatMessage, String accessToken) { - chatMessage.setUserCount(chatRoomRepository.getUserCount(chatMessage.getRoomId())); chatRoomRepository.setLastChatMessage(chatMessage.getRoomId(), chatMessage); if (chatMessage.getType().equals(MessageType.DELETE)) {