Fixed storing sender as receiver and receiver as sender

This commit is contained in:
Teriuihi 2022-02-06 18:07:16 +01:00
parent 3d42fb8bbf
commit 8628dacd10

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