From 14b32f002eb28d097a9c3fab925653997f3e3319 Mon Sep 17 00:00:00 2001 From: Jack Williams Date: Fri, 10 Feb 2017 15:29:27 +0000 Subject: [PATCH] Parse message timestamps found within our message options --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index b3a7797..c1aff57 100644 --- a/index.js +++ b/index.js @@ -633,6 +633,7 @@ Remit.prototype.__consume_res = function __consume_res (message, callbacks, cont service: message.properties.appId, event: message.properties.type, caller: message.properties.messageId, + timestamp: message.properties.timestamp ? new Date(parseInt(message.properties.timestamp) * 1000) : new Date(), uuid: message.properties.headers && message.properties.headers.uuid }