diff options
author | Melanie Thielker | 2010-06-24 18:48:40 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-06-24 18:48:40 +0200 |
commit | b012e963d7fac1b877cf1a4738967538f20332b2 (patch) | |
tree | 9b9f7f52f46be7989e2957eb176009f236e243c4 /OpenSim | |
parent | bug fix. 0,0 is a vlid sim coordinate (diff) | |
download | opensim-SC-b012e963d7fac1b877cf1a4738967538f20332b2.zip opensim-SC-b012e963d7fac1b877cf1a4738967538f20332b2.tar.gz opensim-SC-b012e963d7fac1b877cf1a4738967538f20332b2.tar.bz2 opensim-SC-b012e963d7fac1b877cf1a4738967538f20332b2.tar.xz |
New viewers don't set the "save offline IM" flag anymore. Set it serverside
so messages get saved
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs index ab141eb..2dc7384 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs | |||
@@ -156,6 +156,12 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
156 | return; | 156 | return; |
157 | } | 157 | } |
158 | 158 | ||
159 | if (dialog == (byte)InstantMessageDialog.MessageFromAgent || | ||
160 | dialog == (byte)InstantMessageDialog.MessageFromObject) | ||
161 | { | ||
162 | im.offline = 1; | ||
163 | } | ||
164 | |||
159 | if (m_TransferModule != null) | 165 | if (m_TransferModule != null) |
160 | { | 166 | { |
161 | m_TransferModule.SendInstantMessage(im, | 167 | m_TransferModule.SendInstantMessage(im, |