Skip to content

Commit

Permalink
libtextsecure.js catch-up
Browse files Browse the repository at this point in the history
FREEBIE
  • Loading branch information
scottnonnenberg committed Aug 14, 2017
1 parent 973a91d commit 9c7db53
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/libtextsecure.js
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 9c7db53

Please sign in to comment.