Fixed storing sender as receiver and receiver as sender

This commit is contained in:
2022-02-19 16:58:22 +01:00
committed by destro174
parent 798f93f56c
commit 48fa99d153
@@ -203,7 +203,7 @@ public class ChatHandler {
else
message = Utility.parseColors(message);
Mail mail = new Mail(uuid, targetUUID, message);
Mail mail = new Mail(targetUUID, uuid, message);
ChatUser chatUser = ChatUserManager.getChatUser(targetUUID);
chatUser.addMail(mail);
// TODO load from config