Fixed storing sender as receiver and receiver as sender

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