Ejemplo n.º 1
0
        public void Leave(string nick)
        {
            m_listener = null;
             m_client.OnMessage -= OnMessage;
             m_client.OnPresence -= OnPresence;

             m_chat.LeaveRoom(Jid, nick);
        }
Ejemplo n.º 2
0
        public void Join(string nick, IChatRoomListener listener)
        {
            m_listener = listener;
             m_client.OnMessage += OnMessage;
             m_client.OnPresence += OnPresence;

             m_chat.AcceptDefaultConfiguration(Jid);
             m_chat.JoinRoom(Jid, nick);
        }