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
This commit is contained in:
@@ -179,7 +179,7 @@ MessageReceiver.prototype = {
|
|||||||
}
|
}
|
||||||
if (syncMessage.sent) {
|
if (syncMessage.sent) {
|
||||||
var sentMessage = 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(
|
return this.handleSentMessage(
|
||||||
sentMessage.destination,
|
sentMessage.destination,
|
||||||
sentMessage.timestamp,
|
sentMessage.timestamp,
|
||||||
|
Reference in New Issue
Block a user