aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorMelanie Thielker2010-06-24 18:48:40 +0200
committerMelanie Thielker2010-06-24 18:48:40 +0200
commitb012e963d7fac1b877cf1a4738967538f20332b2 (patch)
tree9b9f7f52f46be7989e2957eb176009f236e243c4 /OpenSim/Region/CoreModules/Avatar
parentbug fix. 0,0 is a vlid sim coordinate (diff)
downloadopensim-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/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs6
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,