Fixed storing sender as receiver and receiver as sender
This commit is contained in:
parent
3d42fb8bbf
commit
8628dacd10
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user