diff --git a/src/indexing/EventIndex.js b/src/indexing/EventIndex.js index eed9837a7a..02151f8474 100644 --- a/src/indexing/EventIndex.js +++ b/src/indexing/EventIndex.js @@ -467,9 +467,6 @@ export default class EventIndex extends EventEmitter { // decryption keys, do we want to retry this checkpoint at a later // stage? const filteredEvents = matrixEvents.filter(this.isValidEvent); - const undecryptableEvents = matrixEvents.filter((ev) => { - return ev.isDecryptionFailure(); - }); // Collect the redaction events so we can delete the redacted events // from the index.