Fixes the need to have tags and kinds for inbox.nostr.wine to work

This commit is contained in:
Vitor Pamplona
2026-03-03 13:40:26 -05:00
parent 264b988b41
commit a417eb46f7
@@ -908,12 +908,15 @@ class Account(
note.relays.associateWith { relay -> note.relays.associateWith { relay ->
listOf( listOf(
Filter( Filter(
kinds = listOf(host.kind),
tags = mapOf("p" to listOf(pubKey)),
ids = listOf(host.id), ids = listOf(host.id),
), ),
) )
}, },
)?.let { downloadedEvent -> )?.let { downloadedEvent ->
client.send(downloadedEvent, computeRelayListToBroadcast(downloadedEvent)) val toRelays = computeRelayListToBroadcast(downloadedEvent)
client.send(downloadedEvent, toRelays)
} }
} }
} else { } else {