mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Well that's handy
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user