diff options
author | Melanie Thielker | 2009-03-29 00:48:34 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-03-29 00:48:34 +0000 |
commit | 404bfdc9a6828638b7b4f7851602e3fe77044025 (patch) | |
tree | 9fd740bfab5967e70b9997c082f1dfd7fcecd2e2 /OpenSim/Region/ClientStack | |
parent | Minor bug fix in UpdateItem (meta data). (diff) | |
download | opensim-SC_OLD-404bfdc9a6828638b7b4f7851602e3fe77044025.zip opensim-SC_OLD-404bfdc9a6828638b7b4f7851602e3fe77044025.tar.gz opensim-SC_OLD-404bfdc9a6828638b7b4f7851602e3fe77044025.tar.bz2 opensim-SC_OLD-404bfdc9a6828638b7b4f7851602e3fe77044025.tar.xz |
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).
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index b65b3f9..7d9efa6 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -8700,6 +8700,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8700 | OutPacket(useCachedMuteList, ThrottleOutPacketType.Task); | 8700 | OutPacket(useCachedMuteList, ThrottleOutPacketType.Task); |
8701 | } | 8701 | } |
8702 | 8702 | ||
8703 | public void SendMuteListUpdate(string filename) | ||
8704 | { | ||
8705 | MuteListUpdatePacket muteListUpdate = (MuteListUpdatePacket)PacketPool.Instance.GetPacket(PacketType.MuteListUpdate); | ||
8706 | |||
8707 | muteListUpdate.MuteData = new MuteListUpdatePacket.MuteDataBlock(); | ||
8708 | muteListUpdate.MuteData.AgentID = AgentId; | ||
8709 | muteListUpdate.MuteData.Filename = Utils.StringToBytes(filename); | ||
8710 | |||
8711 | OutPacket(muteListUpdate, ThrottleOutPacketType.Task); | ||
8712 | } | ||
8713 | |||
8703 | public string Report() | 8714 | public string Report() |
8704 | { | 8715 | { |
8705 | LLPacketHandler handler = (LLPacketHandler) m_PacketHandler; | 8716 | LLPacketHandler handler = (LLPacketHandler) m_PacketHandler; |