diff options
added musings on llInstantMessage
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 353382d..e160fd3 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | |||
@@ -831,6 +831,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
831 | public void llInstantMessage(string user, string message) | 831 | public void llInstantMessage(string user, string message) |
832 | { | 832 | { |
833 | NotImplemented("llInstantMessage"); | 833 | NotImplemented("llInstantMessage"); |
834 | |||
835 | // We may be able to use ClientView.SendInstantMessage here, but we need a client instance. | ||
836 | // InstantMessageModule.OnInstantMessage searches through a list of scenes for a client matching the toAgent, | ||
837 | // but I don't think we have a list of scenes available from here. | ||
838 | // (We also don't want to duplicate the code in OnInstantMessage if we can avoid it.) | ||
839 | |||
840 | // TODO: figure out values for client, fromSession, and imSessionID | ||
841 | // client.SendInstantMessage(m_host.UUID, fromSession, message, user, imSessionID, m_host.Name, AgentManager.InstantMessageDialog.MessageFromAgent, (uint)Util.UnixTimeSinceEpoch()); | ||
834 | } | 842 | } |
835 | 843 | ||
836 | public void llEmail(string address, string subject, string message) | 844 | public void llEmail(string address, string subject, string message) |