Skip to content

Commit

Permalink
fix: 채팅 두번 저장되는 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Curry4182 committed Apr 15, 2024
1 parent 94c3227 commit b6c186a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ public void sendMessage(final Long memberId, final String sessionId, final Strin
.sendAt(getCreatedAt(timeSeq))
.build();

chatAppender.appendChat(chatInfoWithMember.toChatInfo());

applicationEventPublisher.publishEvent(
new ChatSendMessageEvent("/subscribe/rooms/" + chatRoomId, chatInfoWithMember)
);
Expand Down

0 comments on commit b6c186a

Please sign in to comment.