public void SendMessage(Message text, Chat chat) { chat.Add(text); }
public void Sync(Chat chat1, Message msg) { chat1.Add(msg); chat1.msgList.Sort(); }
public void NewChat(Chat chat) { Chats.Add(chat); }