mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user