mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
add GetActiveMembershipData() to groups modules, let core groups also have GetMembershipData(), wait for client to ask for it not telling in OnNewClient, as other modules do.
This commit is contained in:
@@ -714,6 +714,12 @@ namespace OpenSim.Groups
|
||||
return m_groupData.GetAgentGroupMembership(UUID.Zero.ToString(), agentID.ToString(), groupID);
|
||||
}
|
||||
|
||||
public GroupMembershipData GetActiveMembershipData(UUID agentID)
|
||||
{
|
||||
string agentIDstr = agentID.ToString();
|
||||
return m_groupData.GetAgentActiveMembership(agentIDstr, agentIDstr);
|
||||
}
|
||||
|
||||
public void UpdateGroupInfo(IClientAPI remoteClient, UUID groupID, string charter, bool showInList, UUID insigniaID, int membershipFee, bool openEnrollment, bool allowPublish, bool maturePublish)
|
||||
{
|
||||
if (m_debugEnabled) m_log.DebugFormat("[Groups]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
|
||||
|
||||
Reference in New Issue
Block a user