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
+4 -2
View File
@@ -153,7 +153,8 @@ const deleteRustCryptoDatabase = async (session: Session): Promise<boolean> => {
console.log('[initMatrix] 🗑️ Deleting crypto databases:', cryptoDbNames);
for (const dbName of cryptoDbNames) {
for (let i = 0; i < cryptoDbNames.length; i += 1) {
const dbName = cryptoDbNames[i];
try {
await deleteIndexedDB(dbName);
console.log(`[initMatrix] ✅ Deleted: ${dbName}`);
@@ -395,7 +396,8 @@ export const fixKeyConflict = async (mx: MatrixClient): Promise<void> => {
console.log('[initMatrix] 🗑️ Deleting crypto databases:', cryptoDbNames);
for (const dbName of cryptoDbNames) {
for (let i = 0; i < cryptoDbNames.length; i += 1) {
const dbName = cryptoDbNames[i];
try {
await deleteIndexedDB(dbName);
console.log(`[initMatrix] ✅ Deleted: ${dbName}`);