forked from mystiq/hydrogen-web
no need for keys in the iteration
This commit is contained in:
parent
67ddcaa468
commit
ef1e867dee
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ export class Session {
|
||||||
const operations = await opsTxn.operations.getAll();
|
const operations = await opsTxn.operations.getAll();
|
||||||
const operationsByScope = groupBy(operations, o => o.scope);
|
const operationsByScope = groupBy(operations, o => o.scope);
|
||||||
|
|
||||||
for (const [, room] of this._rooms) {
|
for (const room of this._rooms.values()) {
|
||||||
let roomOperationsByType;
|
let roomOperationsByType;
|
||||||
const roomOperations = operationsByScope.get(room.id);
|
const roomOperations = operationsByScope.get(room.id);
|
||||||
if (roomOperations) {
|
if (roomOperations) {
|
||||||
|
|
Loading…
Reference in a new issue