Esempio n. 1
0
File: Chat.cs Progetto: tsviet/Chat
 private void SendFile(Message responce)
 {
     if (responce.other != null)
     {
         Server.AddFile(Server.GetActiveRoom(), responce.other, responce.message[0]);
         Server.GetMessageList().Add("File " + responce.other + " added! Click on it to download!");
         IPC(Command.OK);
     }
     else
     {
         IPC(Command.OK, new List <string>()
         {
             Server.GetFile(Server.GetActiveRoom(), responce.message[0])
         });
     }
 }