mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 21:02:28 +00:00
update
This commit is contained in:
1 parent
cad9db188e
commit
ad6374de92
1 file changed
+6
@@ -158,6 +158,7 @@ export default class CommentThreadService {
|
||||
} = {}) {
|
||||
this.teardown();
|
||||
|
||||
// Always ensure the pool is ready before proceeding
|
||||
if (typeof this.nostrClient?.ensurePool === "function") {
|
||||
try {
|
||||
await this.nostrClient.ensurePool();
|
||||
@@ -167,6 +168,11 @@ 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);
|
||||
|
||||
Reference in new issue
Block a user