From 093eb001ff061c9dded6263dcc97f145d61023e5 Mon Sep 17 00:00:00 2001 From: lilia Date: Sun, 20 Dec 2015 23:34:08 -0800 Subject: [PATCH] Correct log statement Although in practice, these timestamps are often the same, they needn't be, and when they aren't, we want the sentMessage.timestamp here. // FREEBIE --- libtextsecure/message_receiver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index f6e95d39..180473fc 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -179,7 +179,7 @@ MessageReceiver.prototype = { } if (syncMessage.sent) { var sentMessage = syncMessage.sent; - console.log('sent message to', sentMessage.destination, envelope.timestamp.toNumber(), 'from', envelope.source + '.' + envelope.sourceDevice); + console.log('sent message to', sentMessage.destination, sentMessage.timestamp.toNumber(), 'from', envelope.source + '.' + envelope.sourceDevice); return this.handleSentMessage( sentMessage.destination, sentMessage.timestamp,