Implement a handler for requestonlinenotification generic message

slimupdates
Melanie 2010-02-27 15:25:51 +00:00
parent de5c2801e8
commit 6f770af5fb
1 changed files with 6 additions and 0 deletions

View File

@ -211,6 +211,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
client.OnLogout += OnLogout; client.OnLogout += OnLogout;
client.OnEconomyDataRequest += SendPresence; client.OnEconomyDataRequest += SendPresence;
client.AddGenericPacketHandler("requestonlinenotification", OnRequestOnlineNotification);
if (m_Friends.ContainsKey(client.AgentId)) if (m_Friends.ContainsKey(client.AgentId))
{ {
m_Friends[client.AgentId].Refcount++; m_Friends[client.AgentId].Refcount++;
@ -529,5 +531,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
m_FriendsSimConnector.GrantRights(region, requester, target); m_FriendsSimConnector.GrantRights(region, requester, target);
} }
} }
public void OnRequestOnlineNotification(Object sender, string method, List<String> args)
{
}
} }
} }