Restore group membership check for HG users in QueryAccess.

This commit is contained in:
Diva Canto
2013-09-05 07:44:27 -07:00
parent dc74a50225
commit 04619a9b13
3 changed files with 17 additions and 12 deletions

View File

@@ -623,10 +623,13 @@ namespace OpenSim.Groups
if (agent != null)
break;
}
if (agent == null) // oops
return AgentID.ToString();
if (agent != null)
return Util.ProduceUserUniversalIdentifier(agent);
// we don't know anything about this foreign user
// try asking the user management module, which may know more
return m_UserManagement.GetUserUUI(AgentID);
return Util.ProduceUserUniversalIdentifier(agent);
}
private string AgentUUIForOutside(string AgentIDStr)