respect user's relay list (kind 10002)

This commit is contained in:
Ren Amamiya
2023-09-19 08:01:57 +07:00
parent 380d1fb930
commit 60e93965ea
7 changed files with 30 additions and 26 deletions

View File

@@ -57,7 +57,7 @@ export function useNostr() {
const follows = new Set<string>(preFollows || []);
const lruNetwork = new LRUCache<string, string, void>({ max: 300 });
/* fetch user's relays
// fetch user's relays
const relayEvents = await ndk.fetchEvents({
kinds: [NDKKind.RelayList],
authors: [db.account.pubkey],
@@ -74,7 +74,6 @@ export function useNostr() {
}
}
}
*/
// fetch user's follows
if (!preFollows) {