From ec2da8af20c9b7b2676504febf522379bdf1b835 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 12 Nov 2025 20:37:51 -0500 Subject: [PATCH] Allow comment threads without ensurePool --- js/services/commentThreadService.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/js/services/commentThreadService.js b/js/services/commentThreadService.js index 83c0cd6d..71db2696 100644 --- a/js/services/commentThreadService.js +++ b/js/services/commentThreadService.js @@ -167,7 +167,7 @@ export default class CommentThreadService { } = {}) { this.teardown(); - // Always ensure the pool is ready before proceeding + // Always ensure the pool is ready before proceeding when supported. if (typeof this.nostrClient?.ensurePool === "function") { try { await this.nostrClient.ensurePool(); @@ -177,11 +177,6 @@ export default class CommentThreadService { ); return { success: false, error }; } - } else { - this.emitError( - new Error("Nostr client missing ensurePool implementation."), - ); - return { success: false }; } const rawVideoAuthorPubkey = normalizeString(video?.pubkey);