diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Groups')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs index c291c16..eea8e40 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs | |||
@@ -178,27 +178,14 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups | |||
178 | ActiveGroupTitle); | 178 | ActiveGroupTitle); |
179 | } | 179 | } |
180 | 180 | ||
181 | private void OnInstantMessage(IClientAPI client, UUID fromAgentID, | 181 | private void OnInstantMessage(IClientAPI client, GridInstantMessage im) |
182 | UUID fromAgentSession, UUID toAgentID, | ||
183 | UUID imSessionID, uint timestamp, string fromAgentName, | ||
184 | string message, byte dialog, bool fromGroup, byte offline, | ||
185 | uint ParentEstateID, Vector3 Position, UUID RegionID, | ||
186 | byte[] binaryBucket) | ||
187 | { | 182 | { |
188 | } | 183 | } |
189 | 184 | ||
190 | private void OnGridInstantMessage(GridInstantMessage msg) | 185 | private void OnGridInstantMessage(GridInstantMessage msg) |
191 | { | 186 | { |
192 | // Trigger the above event handler | 187 | // Trigger the above event handler |
193 | OnInstantMessage(null, new UUID(msg.fromAgentID), | 188 | OnInstantMessage(null, msg); |
194 | new UUID(msg.fromAgentSession), | ||
195 | new UUID(msg.toAgentID), new UUID(msg.imSessionID), | ||
196 | msg.timestamp, msg.fromAgentName, | ||
197 | msg.message, msg.dialog, msg.fromGroup, msg.offline, | ||
198 | msg.ParentEstateID, | ||
199 | new Vector3(msg.Position.X, msg.Position.Y, msg.Position.Z), | ||
200 | new UUID(msg.RegionID), | ||
201 | msg.binaryBucket); | ||
202 | } | 189 | } |
203 | 190 | ||
204 | private void HandleUUIDGroupNameRequest(UUID id,IClientAPI remote_client) | 191 | private void HandleUUIDGroupNameRequest(UUID id,IClientAPI remote_client) |