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
pull/749/head
lilia 9 years ago
parent 2a6f42f8d1
commit 093eb001ff

@ -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,

Loading…
Cancel
Save