From 360678091cfe9a222e165ed89b00be7ebe4f79ff Mon Sep 17 00:00:00 2001 From: Klaus Date: Fri, 3 Apr 2026 16:59:50 +0900 Subject: [PATCH] =?UTF-8?q?rollback(chat):=20=EC=B1=84=ED=8C=85=EC=9D=84?= =?UTF-8?q?=20=EB=B3=B4=EB=82=BC=20=EB=95=8C=20userName=20=EB=B3=B4?= =?UTF-8?q?=EB=82=B4=EB=8D=98=20=EB=82=B4=EC=9A=A9=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sodalive/chat/room/service/ChatRoomService.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/chat/room/service/ChatRoomService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/chat/room/service/ChatRoomService.kt index 467ed251..4219c26c 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/chat/room/service/ChatRoomService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/chat/room/service/ChatRoomService.kt @@ -672,7 +672,7 @@ class ChatRoomService( ) // 6) 외부 API 호출 (최대 3회 재시도) - val characterReply = callExternalApiForChatSendWithRetry(userId, member.nickname, characterUUID, message, sessionId) + val characterReply = callExternalApiForChatSendWithRetry(userId, characterUUID, message, sessionId) // 6) 내 메시지 저장 val myMsgEntity = ChatMessage( @@ -827,7 +827,6 @@ class ChatRoomService( private fun callExternalApiForChatSendWithRetry( userId: String, - username: String, characterUUID: String, message: String, sessionId: String @@ -837,7 +836,7 @@ class ChatRoomService( while (attempt < maxAttempts) { attempt++ try { - return callExternalApiForChatSend(userId, username, characterUUID, message, sessionId) + return callExternalApiForChatSend(userId, characterUUID, message, sessionId) } catch (e: Exception) { log.warn("[chat] 외부 채팅 전송 실패 attempt={}, error={}", attempt, e.message) } @@ -848,7 +847,6 @@ class ChatRoomService( private fun callExternalApiForChatSend( userId: String, - username: String, characterUUID: String, message: String, sessionId: String @@ -865,7 +863,6 @@ class ChatRoomService( val requestBody = mapOf( "userId" to userId, - "userName" to username, "characterId" to characterUUID, "message" to message, "sessionId" to sessionId