mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-09-29 01:53:25 +02:00
Update nostr_utils.py
This commit is contained in:
@@ -175,7 +175,7 @@ async def get_main_relays(event_to_send: Event, client: Client, dvm_config):
|
|||||||
content = json.loads(followlist.content())
|
content = json.loads(followlist.content())
|
||||||
relays = []
|
relays = []
|
||||||
for relay in content:
|
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)
|
relays.append(relay)
|
||||||
return relays
|
return relays
|
||||||
except:
|
except:
|
||||||
|
Reference in New Issue
Block a user