Finish the offline IM module (still needs a server). Add rudimentary

support for the mute list (no functionality yet, but allows the
RetrieveInstantMessages event to fire now).
This commit is contained in:
Melanie Thielker
2009-03-29 00:48:34 +00:00
parent 730b78114f
commit 404bfdc9a6
9 changed files with 229 additions and 8 deletions

View File

@@ -8700,6 +8700,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OutPacket(useCachedMuteList, ThrottleOutPacketType.Task);
}
public void SendMuteListUpdate(string filename)
{
MuteListUpdatePacket muteListUpdate = (MuteListUpdatePacket)PacketPool.Instance.GetPacket(PacketType.MuteListUpdate);
muteListUpdate.MuteData = new MuteListUpdatePacket.MuteDataBlock();
muteListUpdate.MuteData.AgentID = AgentId;
muteListUpdate.MuteData.Filename = Utils.StringToBytes(filename);
OutPacket(muteListUpdate, ThrottleOutPacketType.Task);
}
public string Report()
{
LLPacketHandler handler = (LLPacketHandler) m_PacketHandler;