Rewrite the restricted iterators and reorder the forward references. [skip build]
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 2s

This commit is contained in:
2026-11-01 21:05:47 +11:00
parent 5477242661
commit 664b7eb739
25 changed files with 472 additions and 437 deletions
@@ -112,7 +112,8 @@ export function Permissions({ requestClose }: PermissionsProps) {
const total = syncableChildren.length;
const myUserId = mx.getSafeUserId();
for (const childId of syncableChildren) {
for (let i = 0; i < syncableChildren.length; i += 1) {
const childId = syncableChildren[i];
try {
const childRoom = mx.getRoom(childId);
if (childRoom) {
@@ -220,7 +221,8 @@ export function Permissions({ requestClose }: PermissionsProps) {
const total = syncableChildren.length;
const myUserId = mx.getSafeUserId();
for (const childId of syncableChildren) {
for (let i = 0; i < syncableChildren.length; i += 1) {
const childId = syncableChildren[i];
try {
const childRoom = mx.getRoom(childId);
if (childRoom) {