mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
Update nostr_utils.py
This commit is contained in:
parent
fb31d39d23
commit
96a5d97140
@ -175,7 +175,7 @@ async def get_main_relays(event_to_send: Event, client: Client, dvm_config):
|
||||
content = json.loads(followlist.content())
|
||||
relays = []
|
||||
for relay in content:
|
||||
if relay not in dvm_config.AVOID_OUTBOX_RELAY_LIST:
|
||||
if relay.rstrip("/") not in dvm_config.AVOID_OUTBOX_RELAY_LIST:
|
||||
relays.append(relay)
|
||||
return relays
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user