New viewers don't set the "save offline IM" flag anymore. Set it serverside

so messages get saved
avinationmerge
Melanie Thielker 2010-06-24 18:48:40 +02:00
parent 6c37a02c0f
commit b012e963d7
1 changed files with 6 additions and 0 deletions

View File

@ -156,6 +156,12 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
return; return;
} }
if (dialog == (byte)InstantMessageDialog.MessageFromAgent ||
dialog == (byte)InstantMessageDialog.MessageFromObject)
{
im.offline = 1;
}
if (m_TransferModule != null) if (m_TransferModule != null)
{ {
m_TransferModule.SendInstantMessage(im, m_TransferModule.SendInstantMessage(im,