EventIndex: Remove an unused variable.

This commit is contained in:
Damir Jelić 2020-05-05 10:21:18 +02:00
parent f2df698e3b
commit c9ac726629

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.