From 67376da058e23a80d68b6eb93dbd1fb2f54c320c Mon Sep 17 00:00:00 2001 From: Nho Quy Dinh Date: Sat, 18 May 2024 10:31:49 +0200 Subject: [PATCH] Fix chat notification email --- src/main/java/com/nonononoki/alovoa/service/MessageService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }