internal void OnMessage(PrivateMessage message) => Message?.Invoke(message);
public void AddLine(PrivateMessage privateMessage) { var user = Network.GetUser(privateMessage.BaseMessage.User); Lines.Add(new ChatLine(user, privateMessage.Message)); if (ViewModelLocator.Main.Channel != this) Unread++; }