mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2026-01-04 14:54:20 +01:00
also avoid main relays that from the outbox avoid list
This commit is contained in:
@@ -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 []
|
||||
|
||||
Reference in New Issue
Block a user