diff --git a/src/main/java/com/nonononoki/alovoa/service/MessageService.java b/src/main/java/com/nonononoki/alovoa/service/MessageService.java index 9422e85c..6aefe484 100644 --- a/src/main/java/com/nonononoki/alovoa/service/MessageService.java +++ b/src/main/java/com/nonononoki/alovoa/service/MessageService.java @@ -90,7 +90,7 @@ public void send(Long convoId, String message) conversationRepo.saveAndFlush(c); if(user.getUserSettings().isEmailChat()){ - mailService.sendChatNotificationMail(currUser, user, message); + mailService.sendChatNotificationMail(user, currUser, message); } }