mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Mantis #7920: group info was not being updated in many situations. (regression) Putting back the heavy messaging.
This commit is contained in:
@@ -367,7 +367,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
return groupUpdate;
|
||||
}
|
||||
|
||||
public static OSD GroupMembershipData(UUID receiverAgent, GroupMembershipData[] data)
|
||||
public static OSD GroupMembershipData(UUID receiverAgent, UUID dataForAgentID, GroupMembershipData[] data)
|
||||
{
|
||||
OSDArray AgentData = new OSDArray(1);
|
||||
OSDMap AgentDataMap = new OSDMap(1);
|
||||
@@ -379,15 +379,15 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
|
||||
foreach (GroupMembershipData membership in data)
|
||||
{
|
||||
//if (receiverAgent != dataForAgentID)
|
||||
//{
|
||||
// if (!membership.ListInProfile)
|
||||
// {
|
||||
// // If we're sending group info to remoteclient about another agent,
|
||||
// // filter out groups the other agent doesn't want to share.
|
||||
// continue;
|
||||
// }
|
||||
//}
|
||||
if (receiverAgent != dataForAgentID)
|
||||
{
|
||||
if (!membership.ListInProfile)
|
||||
{
|
||||
// If we're sending group info to remoteclient about another agent,
|
||||
// filter out groups the other agent doesn't want to share.
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
OSDMap GroupDataMap = new OSDMap(6);
|
||||
OSDMap NewGroupDataMap = new OSDMap(1);
|
||||
|
||||
Reference in New Issue
Block a user