diff --git a/src/indexing/EventIndex.js b/src/indexing/EventIndex.js index 128b4bb42d..245427d425 100644 --- a/src/indexing/EventIndex.js +++ b/src/indexing/EventIndex.js @@ -493,7 +493,7 @@ export default class EventIndex extends EventEmitter { try { for (var i = 0; i < redactionEvents.length; i++) { - let ev = redactionEvents[i]; + const ev = redactionEvents[i]; await indexManager.deleteEvent(ev.getAssociatedId()); }