diff --git a/src/matrix/room/sending/SendQueue.js b/src/matrix/room/sending/SendQueue.js index 4a678cfe..ce26d849 100644 --- a/src/matrix/room/sending/SendQueue.js +++ b/src/matrix/room/sending/SendQueue.js @@ -205,7 +205,7 @@ export class SendQueue { } dispose() { - for (const pe in this._pendingEvents.array) { + for (const pe of this._pendingEvents) { pe.dispose(); } }