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