EventIndex: Remove an unused variable.

This commit is contained in:
Damir Jelić 2020-05-05 10:21:18 +02:00 committed by J. Ryan Stinnett
parent 5aa645caf9
commit 51a79a43e3

View file

@ -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.