diff --git a/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentCommendService.java b/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentCommendService.java index f49c9ed..36cc495 100644 --- a/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentCommendService.java +++ b/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentCommendService.java @@ -364,7 +364,7 @@ public void postCommentWithParentChildComment(Long memberId, Long contentId, Com }else { //대댓글의 경우 Member parentCommentWriter = memberRepository.findMemberByIdOrThrow(commentPostRequestDtoVer2.parentCommentWriterId()); - if(!usingMember.equals(contentWritingMember)) { + if(!usingMember.equals(contentWritingMember)&&!usingMember.equals(parentCommentWriter)) { Notification notification = Notification.builder() .notificationTargetMember(parentCommentWriter) .notificationTriggerMemberId(usingMember.getId())