Exemplo n.º 1
0
        public MuteList[] GetMuteList(UUID AgentID)
        {
            List <MuteList> list = new List <MuteList>(m_localService.GetMuteList(AgentID));

            list.AddRange(m_remoteService.GetMuteList(AgentID));
            return(list.ToArray());
        }
Exemplo n.º 2
0
        public MuteList[] GetMuteList(UUID AgentID)
        {
            List <MuteList> list       = new List <MuteList>();
            List <string>   serverURIs =
                m_registry.RequestModuleInterface <IConfigurationService>().FindValueOf(AgentID.ToString(),
                                                                                        "FriendsServerURI");

            if (serverURIs.Count > 0) //Remote user... or should be
            {
                return(m_remoteService.GetMuteList(AgentID));
            }
            return(m_localService.GetMuteList(AgentID));
        }