Fix sync message timestamps

This commit is contained in:
lilia 2015-05-18 12:48:52 -07:00
parent d1bcafad65
commit c4fa2cb935

View file

@ -133,7 +133,7 @@
var type = 'incoming'; var type = 'incoming';
if (pushMessageContent.sync) { if (pushMessageContent.sync) {
type = 'outgoing'; type = 'outgoing';
timestamp = pushMessageContent.sync.timestamp; timestamp = pushMessageContent.sync.timestamp.toNumber();
} }
var now = new Date().getTime(); var now = new Date().getTime();