mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
no need for keys in the iteration
This commit is contained in:
parent
67ddcaa468
commit
ef1e867dee
@ -328,7 +328,7 @@ export class Session {
|
||||
const operations = await opsTxn.operations.getAll();
|
||||
const operationsByScope = groupBy(operations, o => o.scope);
|
||||
|
||||
for (const [, room] of this._rooms) {
|
||||
for (const room of this._rooms.values()) {
|
||||
let roomOperationsByType;
|
||||
const roomOperations = operationsByScope.get(room.id);
|
||||
if (roomOperations) {
|
||||
|
Loading…
Reference in New Issue
Block a user