Implement a handler for requestonlinenotification generic message
parent
de5c2801e8
commit
6f770af5fb
|
@ -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)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue