Fixed storing sender as receiver and receiver as sender

This commit is contained in:
Teriuihi 2022-02-06 18:07:16 +01:00 committed by destro174
parent 798f93f56c
commit 48fa99d153

View File

@ -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