Exemple #1
0
        public void send(ChatSourceMessage message)
        {
            IList <UserAccount> accounts = MainUser.retrieve(message.Source);

            if (accounts != null && accounts.Count > 0)
            {
                message.Source.send(message.Message, accounts[0]);
            }
        }
Exemple #2
0
 private void newSource_IncomingMessage(ChatSourceMessage message)
 {
     if (!message.Source.Muted)
     {
         lock (NewMessages)
         {
             NewMessages.Enqueue(message);
         }
     }
 }