aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps
diff options
context:
space:
mode:
authorDiva Canto2016-06-19 17:35:11 -0700
committerDiva Canto2016-06-19 17:35:11 -0700
commit8d99fe095a231ba71ce71712cb87f8114672e7df (patch)
treebc047d6a080323ae7f9344d98fc27e5a8fb99a9b /OpenSim/Region/ClientStack/Linden/Caps
parentAgentGroupData was being sent by both UDP and EQ -- an overkill. Turn off UDP... (diff)
downloadopensim-SC_OLD-8d99fe095a231ba71ce71712cb87f8114672e7df.zip
opensim-SC_OLD-8d99fe095a231ba71ce71712cb87f8114672e7df.tar.gz
opensim-SC_OLD-8d99fe095a231ba71ce71712cb87f8114672e7df.tar.bz2
opensim-SC_OLD-8d99fe095a231ba71ce71712cb87f8114672e7df.tar.xz
Mantis #7920: group info was not being updated in many situations. (regression) Putting back the heavy messaging.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs4
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs20
2 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
index 9a1cef4..d628cfc 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
@@ -585,9 +585,9 @@ namespace OpenSim.Region.ClientStack.Linden
585 Enqueue(item, avatarID); 585 Enqueue(item, avatarID);
586 } 586 }
587 587
588 public void GroupMembershipData(UUID receiverAgent, GroupMembershipData[] data) 588 public void GroupMembershipData(UUID receiverAgent, UUID dataForClientID, GroupMembershipData[] data)
589 { 589 {
590 OSD item = EventQueueHelper.GroupMembershipData(receiverAgent, data); 590 OSD item = EventQueueHelper.GroupMembershipData(receiverAgent, dataForClientID, data);
591 Enqueue(item, receiverAgent); 591 Enqueue(item, receiverAgent);
592 } 592 }
593 593
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs
index 2344fc6..7c8f441 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs
@@ -367,7 +367,7 @@ namespace OpenSim.Region.ClientStack.Linden
367 return groupUpdate; 367 return groupUpdate;
368 } 368 }
369 369
370 public static OSD GroupMembershipData(UUID receiverAgent, GroupMembershipData[] data) 370 public static OSD GroupMembershipData(UUID receiverAgent, UUID dataForAgentID, GroupMembershipData[] data)
371 { 371 {
372 OSDArray AgentData = new OSDArray(1); 372 OSDArray AgentData = new OSDArray(1);
373 OSDMap AgentDataMap = new OSDMap(1); 373 OSDMap AgentDataMap = new OSDMap(1);
@@ -379,15 +379,15 @@ namespace OpenSim.Region.ClientStack.Linden
379 379
380 foreach (GroupMembershipData membership in data) 380 foreach (GroupMembershipData membership in data)
381 { 381 {
382 //if (receiverAgent != dataForAgentID) 382 if (receiverAgent != dataForAgentID)
383 //{ 383 {
384 // if (!membership.ListInProfile) 384 if (!membership.ListInProfile)
385 // { 385 {
386 // // If we're sending group info to remoteclient about another agent, 386 // If we're sending group info to remoteclient about another agent,
387 // // filter out groups the other agent doesn't want to share. 387 // filter out groups the other agent doesn't want to share.
388 // continue; 388 continue;
389 // } 389 }
390 //} 390 }
391 391
392 OSDMap GroupDataMap = new OSDMap(6); 392 OSDMap GroupDataMap = new OSDMap(6);
393 OSDMap NewGroupDataMap = new OSDMap(1); 393 OSDMap NewGroupDataMap = new OSDMap(1);