From 14d7423e29765256b80e92983771f272487c77ba Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 14:25:22 +0000 Subject: [PATCH] Remove blocking access control checks to fix slow initial video loading --- js/app.js | 2 +- js/services/nostrService.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index acc7d99a..5c27aad9 100644 --- a/js/app.js +++ b/js/app.js @@ -494,7 +494,7 @@ class Application { }) : Promise.resolve(null); - await Promise.all([accessControlPromise, adminPanePromise]); + // await Promise.all([accessControlPromise, adminPanePromise]); const syncSessionActorBlacklist = async (trigger) => { if (this.pubkey) { diff --git a/js/services/nostrService.js b/js/services/nostrService.js index 7a5ea3f0..b966bba5 100644 --- a/js/services/nostrService.js +++ b/js/services/nostrService.js @@ -1104,7 +1104,12 @@ export class NostrService { this.ensureInitialLoadDeferred(); try { - await this.ensureAccessControlReady(); + this.ensureAccessControlReady().catch((error) => { + userLogger.warn( + "[nostrService] Background access control ready check failed:", + error + ); + }); if (forceFetch) { this.clearVideoSubscription();