private void JoinRoom(Message responce) { if (Server.ServerExist()) { if (Server.GetUserListInRoom(responce.other).Contains(responce.message[0])) { IPC(Command.Error); } else { Server.GetUserListInRoom(responce.other).Add(responce.message[0]); IPC(Command.OK); } } else { IPC(Command.Error); } }