libtextsecure.js catch-up

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-08-14 12:20:13 -07:00
parent 973a91d1d5
commit 9c7db537d0
No known key found for this signature in database
GPG Key ID: A4931C09644C654B
1 changed files with 0 additions and 3 deletions

View File

@ -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);