Example #1
0
        private void UpdateUserList(PropertyDictionary message)
        {
            if (!message.HasArrayFor(ChatroomKeys.Message)) return;//Ignore potential hacked message

            PropertyArray chatters = message.ArrayFor(ChatroomKeys.Message);

            _chatterList.Nodes.Clear();

            foreach (string chatter in chatters)
            {
                _chatterList.Nodes.Add(chatter);
            }
        }