chore: polish some components

This commit is contained in:
2023-12-30 09:02:39 +07:00
parent 55d6318614
commit ddbbcf41b5
11 changed files with 44 additions and 28 deletions

View File

@@ -372,6 +372,8 @@ export class Ark {
signal?: AbortSignal;
dedup?: boolean;
}) {
if (!filter?.authors?.length) return [];
const rootIds = new Set();
const dedupQueue = new Set();
const connectedRelays = this.ndk.pool