MessageReceiver: Log errors with proper message id

This commit is contained in:
Scott Nonnenberg 2019-02-11 14:53:57 -08:00
parent 462fa712bc
commit 021e807180
1 changed files with 1 additions and 1 deletions

View File

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