mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Force IM timestamps to current server time to prevent "Saved on" headers
while the sender is online
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user