diff options
author | Melanie Thielker | 2009-04-26 18:19:14 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-04-26 18:19:14 +0000 |
commit | 647368f53f58dcda9885a9d4ac656fcf0fc3b99e (patch) | |
tree | 047aa86ff9f1dbc197dd221f06e023fea633d877 | |
parent | Adapt the opensim.ini example to reflect the php file names actually used (diff) | |
download | opensim-SC-647368f53f58dcda9885a9d4ac656fcf0fc3b99e.zip opensim-SC-647368f53f58dcda9885a9d4ac656fcf0fc3b99e.tar.gz opensim-SC-647368f53f58dcda9885a9d4ac656fcf0fc3b99e.tar.bz2 opensim-SC-647368f53f58dcda9885a9d4ac656fcf0fc3b99e.tar.xz |
Thank you, mcortez, for a patch to fix group notice delivery
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs index d5cd7e2..eb9f804 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | |||
@@ -436,14 +436,14 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
436 | OnNewGroupNotice(GroupID, NoticeID); | 436 | OnNewGroupNotice(GroupID, NoticeID); |
437 | } | 437 | } |
438 | 438 | ||
439 | // Build notice IIM | ||
440 | GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice); | ||
441 | |||
442 | // Send notice out to everyone that wants notices | 439 | // Send notice out to everyone that wants notices |
443 | foreach (GroupMembersData member in m_groupData.GetGroupMembers(GroupID)) | 440 | foreach (GroupMembersData member in m_groupData.GetGroupMembers(GroupID)) |
444 | { | 441 | { |
445 | if (member.AcceptNotices) | 442 | if (member.AcceptNotices) |
446 | { | 443 | { |
444 | // Build notice IIM | ||
445 | GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice); | ||
446 | |||
447 | msg.toAgentID = member.AgentID.Guid; | 447 | msg.toAgentID = member.AgentID.Guid; |
448 | OutgoingInstantMessage(msg, member.AgentID); | 448 | OutgoingInstantMessage(msg, member.AgentID); |
449 | 449 | ||