From 9c7db537d0b98996435e2cd7e7e3431b69f76eae Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Mon, 14 Aug 2017 12:20:13 -0700 Subject: [PATCH] libtextsecure.js catch-up FREEBIE --- js/libtextsecure.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 58b788ab1d..e35f70693a 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -38332,7 +38332,6 @@ MessageReceiver.prototype.extend({ } return; } - var receivedAt = Date.now(); this.incoming.push(textsecure.crypto.decryptWebsocketMessage(request.body, this.signalingKey).then(function(plaintext) { var envelope = textsecure.protobuf.Envelope.decode(plaintext); @@ -38344,8 +38343,6 @@ MessageReceiver.prototype.extend({ return request.respond(200, 'OK'); } - envelope.receivedAt = receivedAt; - return this.addToCache(envelope, plaintext).then(function() { request.respond(200, 'OK'); this.queueEnvelope(envelope);