private void HandleCloseConversation(Message message) { SendToAll(new Message(Message.MessageType.ByeConversation, "Disconnect")); ConversationClosed?.Invoke(this, message); }
private void OnCloseConversation(Conversation conversation) { Debug($"Removing conversation {conversation.Id}"); _conversations.Remove(conversation); ConversationClosed?.Invoke(conversation); }