mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Implement a handler for requestonlinenotification generic message
This commit is contained in:
@@ -211,6 +211,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
client.OnLogout += OnLogout;
|
||||
client.OnEconomyDataRequest += SendPresence;
|
||||
|
||||
client.AddGenericPacketHandler("requestonlinenotification", OnRequestOnlineNotification);
|
||||
|
||||
if (m_Friends.ContainsKey(client.AgentId))
|
||||
{
|
||||
m_Friends[client.AgentId].Refcount++;
|
||||
@@ -529,5 +531,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
m_FriendsSimConnector.GrantRights(region, requester, target);
|
||||
}
|
||||
}
|
||||
|
||||
public void OnRequestOnlineNotification(Object sender, string method, List<String> args)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user