EventIndex: Remove an unused variable.

pull/21833/head
Damir Jelić 2020-05-05 10:21:18 +02:00 committed by J. Ryan Stinnett
parent 5aa645caf9
commit 51a79a43e3
1 changed files with 0 additions and 3 deletions

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.