aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2013-08-05 08:09:30 -0700
committerDiva Canto2013-08-05 08:09:30 -0700
commit05012bb0df9b109f792b83e82779d3f69fb37ecb (patch)
tree89b89350a06067d850471abf3a40398e70d33410 /OpenSim
parentFix the failing TestSendImage. J2K decoding is async. (diff)
downloadopensim-SC_OLD-05012bb0df9b109f792b83e82779d3f69fb37ecb.zip
opensim-SC_OLD-05012bb0df9b109f792b83e82779d3f69fb37ecb.tar.gz
opensim-SC_OLD-05012bb0df9b109f792b83e82779d3f69fb37ecb.tar.bz2
opensim-SC_OLD-05012bb0df9b109f792b83e82779d3f69fb37ecb.tar.xz
Group notices bug fix: use a new IM for each member of the group, otherwise the fields get messed up because the transfer is async
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Addons/Groups/GroupsModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs
index da8030c..830c671 100644
--- a/OpenSim/Addons/Groups/GroupsModule.cs
+++ b/OpenSim/Addons/Groups/GroupsModule.cs
@@ -467,12 +467,12 @@ namespace OpenSim.Groups
467 } 467 }
468 468
469 // Send notice out to everyone that wants notices 469 // Send notice out to everyone that wants notices
470 // Build notice IIM
471 GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice);
472 foreach (GroupMembersData member in m_groupData.GetGroupMembers(GetRequestingAgentIDStr(remoteClient), GroupID)) 470 foreach (GroupMembersData member in m_groupData.GetGroupMembers(GetRequestingAgentIDStr(remoteClient), GroupID))
473 { 471 {
474 if (member.AcceptNotices) 472 if (member.AcceptNotices)
475 { 473 {
474 // Build notice IIM, one of reach, because the sending may be async
475 GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice);
476 msg.toAgentID = member.AgentID.Guid; 476 msg.toAgentID = member.AgentID.Guid;
477 OutgoingInstantMessage(msg, member.AgentID); 477 OutgoingInstantMessage(msg, member.AgentID);
478 } 478 }