You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
EventIndex: Use a const instead of a let binding.
This commit is contained in:
@@ -493,7 +493,7 @@ export default class EventIndex extends EventEmitter {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
for (var i = 0; i < redactionEvents.length; i++) {
|
for (var i = 0; i < redactionEvents.length; i++) {
|
||||||
let ev = redactionEvents[i];
|
const ev = redactionEvents[i];
|
||||||
await indexManager.deleteEvent(ev.getAssociatedId());
|
await indexManager.deleteEvent(ev.getAssociatedId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user