diff options
author | Michael Cortez | 2009-08-19 07:37:39 -0700 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-09-18 20:53:47 +0100 |
commit | 61699275ed941565f3ede2a7ce6c00607fb70837 (patch) | |
tree | c4cccd733e6f37833d2e5603dcf0328370dbebce | |
parent | Revert "Thank you, mcortez, for a patch to address showing users in group list" (diff) | |
download | opensim-SC_OLD-61699275ed941565f3ede2a7ce6c00607fb70837.zip opensim-SC_OLD-61699275ed941565f3ede2a7ce6c00607fb70837.tar.gz opensim-SC_OLD-61699275ed941565f3ede2a7ce6c00607fb70837.tar.bz2 opensim-SC_OLD-61699275ed941565f3ede2a7ce6c00607fb70837.tar.xz |
Add additional debugging to help track down bug with notices not going to group owner/founder.
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 37e1ed4..daba7bc 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -494,7 +494,20 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
494 | // Send notice out to everyone that wants notices | 494 | // Send notice out to everyone that wants notices |
495 | foreach (GroupMembersData member in m_groupData.GetGroupMembers(GetClientGroupRequestID(remoteClient), GroupID)) | 495 | foreach (GroupMembersData member in m_groupData.GetGroupMembers(GetClientGroupRequestID(remoteClient), GroupID)) |
496 | { | 496 | { |
497 | if (member.AcceptNotices) | 497 | if (m_debugEnabled) |
498 | { | ||
499 | UserProfileData targetUserProfile = m_sceneList[0].CommsManager.UserService.GetUserProfile(member.AgentID); | ||
500 | if (targetUserProfile != null) | ||
501 | { | ||
502 | m_log.DebugFormat("[GROUPS]: Prepping group notice {0} for agent: {1} who Accepts Notices ({2})", NoticeID, targetUserProfile.Name, member.AcceptNotices); | ||
503 | } | ||
504 | else | ||
505 | { | ||
506 | m_log.DebugFormat("[GROUPS]: Prepping group notice {0} for agent: {1} who Accepts Notices ({2})", NoticeID, member.AgentID, member.AcceptNotices); | ||
507 | } | ||
508 | } | ||
509 | |||
510 | if (member.AcceptNotices) | ||
498 | { | 511 | { |
499 | // Build notice IIM | 512 | // Build notice IIM |
500 | GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice); | 513 | GridInstantMessage msg = CreateGroupNoticeIM(UUID.Zero, NoticeID, (byte)OpenMetaverse.InstantMessageDialog.GroupNotice); |