MessageReceiver: Log errors with proper message id

pull/272/head
Scott Nonnenberg 6 years ago
parent 462fa712bc
commit 021e807180

@ -555,7 +555,7 @@ MessageReceiver.prototype.extend({
return textsecure.storage.unprocessed.remove(id); return textsecure.storage.unprocessed.remove(id);
}, },
queueDecryptedEnvelope(envelope, plaintext) { queueDecryptedEnvelope(envelope, plaintext) {
const { id } = envelope; const id = this.getEnvelopeId(envelope);
window.log.info('queueing decrypted envelope', id); window.log.info('queueing decrypted envelope', id);
const task = this.handleDecryptedEnvelope.bind(this, envelope, plaintext); const task = this.handleDecryptedEnvelope.bind(this, envelope, plaintext);

Loading…
Cancel
Save