From fca73f3ae488de578c4c6e093c9d1185ec6d4ba3 Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Tue, 12 May 2009 15:52:28 +0000
Subject: Add more group notify glue

---
 OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs               | 2 ++
 OpenSim/Region/Framework/Interfaces/IGroupsModule.cs               | 1 +
 .../OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs      | 7 +++++++
 3 files changed, 10 insertions(+)

diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 72cb5c8..0eb08b2 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -8991,6 +8991,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
                                                            d.Powers,
                                                            d.UpdateType);
                         }
+                        m_GroupsModule.NotifyChange(groupRoleUpdate.AgentData.GroupID);
                     }
                     break;
 
@@ -9018,6 +9019,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
                                                             d.MemberID,
                                                             d.Change);
                         }
+                        m_GroupsModule.NotifyChange(groupRoleChanges.AgentData.GroupID);
                     }
                     break;
 
diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
index 8183828..854a28f 100644
--- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs
@@ -67,5 +67,6 @@ namespace OpenSim.Region.Framework.Interfaces
         void EjectGroupMemberRequest(IClientAPI remoteClient, UUID GroupID, UUID EjecteeID);
         void InviteGroupRequest(IClientAPI remoteClient, UUID GroupID, UUID InviteeID, UUID RoleID);
         GroupRecord GetGroupRecord(UUID GroupID);
+        void NotifyChange(UUID GroupID);
     }
 }
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
index 2a3df8c..3b12722 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
@@ -1291,6 +1291,13 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
             }
         }
 
+        public void NotifyChange(UUID groupID)
+        {
+            // Notify all group members of a chnge in group roles and/or
+            // permissions
+            //
+        }
+
         #endregion
     }
 
-- 
cgit v1.1