Well that's handy

This commit is contained in:
lilia 2014-10-25 18:06:12 -07:00
parent 674b173c59
commit eebb14599f

View file

@ -35,8 +35,7 @@ var Whisper = Whisper || {};
attachments[i] = "data:" + decrypted.message.attachments[i].contentType + ";base64," + btoa(getString(decrypted.message.attachments[i].decrypted));
var thread = Whisper.Threads.findOrCreateForIncomingMessage(decrypted);
var timestamp = Math.pow(2,32) * decrypted.pushMessage.timestamp.high
+ decrypted.pushMessage.timestamp.low;
var timestamp = decrypted.pushMessage.timestamp.toNumber();
var m = thread.messages().add({
person: decrypted.pushMessage.source,
threadId: thread.id,