fixes for noogle and new sdk

This commit is contained in:
Believethehype
2024-09-15 11:48:02 +02:00
parent 9d1d570ed8
commit 79af336a7c
11 changed files with 157 additions and 95 deletions

View File

@@ -239,8 +239,7 @@ async def send_event_outbox(event: Event, client, dvm_config) -> EventId:
relays = await get_main_relays(event, client, dvm_config)
for relay in relays:
opts = RelayOptions().ping(False)
await outboxclient.add_relay_with_opts(relay, opts)
await outboxclient.add_relay(relay)
try:
await outboxclient.connect()
event_id = await outboxclient.send_event(event)