Force IM timestamps to current server time to prevent "Saved on" headers

while the sender is online
avinationmerge
Melanie Thielker 2010-06-28 08:58:51 +02:00
parent 7807d11807
commit 3e908023b2
1 changed files with 4 additions and 0 deletions

View File

@ -156,6 +156,10 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
return;
}
// Force timestamp to server time to avoid "Saved on" headers
// being generated for online users
im.timestamp = (uint)Util.UnixTimeSinceEpoch();
if (dialog == (byte)InstantMessageDialog.MessageFromAgent ||
dialog == (byte)InstantMessageDialog.MessageFromObject)
{