mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
also avoid main relays that from the outbox avoid list
This commit is contained in:
parent
dcb93ada6f
commit
398917522f
@ -176,7 +176,8 @@ async def get_main_relays(event_to_send: Event, client: Client, dvm_config):
|
||||
content = json.loads(followlist.content())
|
||||
relays = []
|
||||
for relay in content:
|
||||
relays.append(relay)
|
||||
if relay not in dvm_config.AVOID_OUTBOX_RELAY_LIST:
|
||||
relays.append(relay)
|
||||
return relays
|
||||
except:
|
||||
return []
|
||||
|
@ -67,6 +67,8 @@ AVOID_OUTBOX_RELAY_LIST = ["wss://nos.lol",
|
||||
"wss://nostr.bitcoiner.social", "wss://relay.galtsgulch.cc",
|
||||
"ws://oxtrdevav64z64yb7x6rjg4ntzqjhedm5b5zjqulugknhzr46ny2qbad.onion",
|
||||
"wss://relay.f7z.io", "wss://nostr-relay.h3z.jp", "wss://nfrelay.app",
|
||||
"wss://r.kojira.io"
|
||||
"wss://r.kojira.io", "wss://jp-relay-nostr.invr.chat",
|
||||
"wss://nostream-production-5895.up.railway.app",
|
||||
"ws://127.0.0.1:4869", "wss://sign.siamstr.com"
|
||||
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user