Tweak relay lists

This commit is contained in:
Jon Staab
2026-06-18 11:15:02 -07:00
parent fafa3b172e
commit 772895e3ab
8 changed files with 39 additions and 12 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ export class RelayStats extends MapPlugin<RelayStatsItem> {
// Skip relays the user has blocked
const pubkey = this.ctx.user?.pubkey
if (pubkey && this.ctx.use(BlockedRelayLists).getBlockedRelays(pubkey).includes(url)) {
if (pubkey && this.ctx.use(BlockedRelayLists).urls(pubkey).get().includes(url)) {
return 0
}