Fixes the need to have tags and kinds for inbox.nostr.wine to work
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user