closes #4834, closes #4830

v1.18.x
barisusakli 9 years ago
parent 45ff71fd06
commit 3df7bae08c

@ -121,6 +121,7 @@ var async = require('async'),
message.self = self ? 1 : 0;
message.timestampISO = utils.toISOString(message.timestamp);
message.newSet = false;
message.roomId = String(message.roomId || roomId);
if (message.hasOwnProperty('edited')) {
message.editedISO = new Date(parseInt(message.edited, 10)).toISOString();
}

Loading…
Cancel
Save