libtextsecure.js catch-up
FREEBIE
This commit is contained in:
@@ -38332,7 +38332,6 @@ MessageReceiver.prototype.extend({
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var receivedAt = Date.now();
|
|
||||||
|
|
||||||
this.incoming.push(textsecure.crypto.decryptWebsocketMessage(request.body, this.signalingKey).then(function(plaintext) {
|
this.incoming.push(textsecure.crypto.decryptWebsocketMessage(request.body, this.signalingKey).then(function(plaintext) {
|
||||||
var envelope = textsecure.protobuf.Envelope.decode(plaintext);
|
var envelope = textsecure.protobuf.Envelope.decode(plaintext);
|
||||||
@@ -38344,8 +38343,6 @@ MessageReceiver.prototype.extend({
|
|||||||
return request.respond(200, 'OK');
|
return request.respond(200, 'OK');
|
||||||
}
|
}
|
||||||
|
|
||||||
envelope.receivedAt = receivedAt;
|
|
||||||
|
|
||||||
return this.addToCache(envelope, plaintext).then(function() {
|
return this.addToCache(envelope, plaintext).then(function() {
|
||||||
request.respond(200, 'OK');
|
request.respond(200, 'OK');
|
||||||
this.queueEnvelope(envelope);
|
this.queueEnvelope(envelope);
|
||||||
|
Reference in New Issue
Block a user