EventIndex: Remove an unused variable.

pull/21833/head
Damir Jelić 2020-05-05 10:21:18 +02:00
parent f2df698e3b
commit c9ac726629
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 // decryption keys, do we want to retry this checkpoint at a later
// stage? // stage?
const filteredEvents = matrixEvents.filter(this.isValidEvent); 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 // Collect the redaction events so we can delete the redacted events
// from the index. // from the index.