Skip to content

Commit

Permalink
feat : 모임강퇴당하면 채팅방 나가게끔 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jimi567 committed Oct 8, 2024
1 parent 6eb1a90 commit 6b70496
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public void kickMember(Long clubId, Long memberId, DeleteKickedMemberRequest req
Member kickedMember = memberRepository.getById(request.kickedMemberId());
validateKick(club, kickedMember, member);
club.removeClubMember(kickedMember);
club.removeChatRoomMember(member);
}

private void validateKick(Club club, Member owner, Member kickedMember) {
Expand Down

0 comments on commit 6b70496

Please sign in to comment.