Allow comment threads without ensurePool

This commit is contained in:
thePR0M3TH3AN committed 2025-11-12 20:37:51 -05:00
1 parent 74bbe8e078
commit ec2da8af20
1 file changed
+1 -6
+1 -6
View File
@@ -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);