Skip to content

Commit

Permalink
fix: 메시지 전송 시 작성자 이미지가 전송되도록 수정 (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
swonny authored Oct 12, 2023
1 parent fdcaeb2 commit fe25e4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class NotificationEventListener {
public void sendMessageNotification(final MessageNotificationEvent messageNotificationEvent) {
try {
final MessageDto messageDto = messageNotificationEvent.messageDto();
final ProfileImage profileImage = messageDto.receiver().getProfileImage();
final ProfileImage profileImage = messageDto.writer().getProfileImage();
final CreateNotificationDto createNotificationDto = new CreateNotificationDto(
NotificationType.MESSAGE,
messageDto.receiver().getId(),
Expand Down

0 comments on commit fe25e4a

Please sign in to comment.