From 7747c3c1cbad57e831a329673083616c02156630 Mon Sep 17 00:00:00 2001 From: geneaky Date: Wed, 30 Oct 2024 23:07:08 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20chatRoomId=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 --- .../toy/bookchat/bookchat/domain/user/service/UserService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/toy/bookchat/bookchat/domain/user/service/UserService.java b/src/main/java/toy/bookchat/bookchat/domain/user/service/UserService.java index eec22f57..eb5e8629 100644 --- a/src/main/java/toy/bookchat/bookchat/domain/user/service/UserService.java +++ b/src/main/java/toy/bookchat/bookchat/domain/user/service/UserService.java @@ -83,7 +83,7 @@ public void deleteUser(Long userId) { .collect(Collectors.toList()); participantManager.deleteAllWithChatRoom(chatRoomIds); - chatAppender.appendAnnouncements(participants.stream().map(Participant::getId).collect(Collectors.toList()), + chatAppender.appendAnnouncements(participants.stream().map(Participant::getChatRoomId).collect(Collectors.toList()), "#" + userId + "#님이 퇴장하셨습니다."); }