Simplifies the work of finding an event by relays.

This commit is contained in:
Vitor Pamplona 2023-07-08 15:46:02 -04:00
parent 3fc247d85c
commit 6d565a2960
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ object NostrSingleChannelDataSource : NostrDataSource("SingleChannelFeed") {
filter = JsonFilter(
kinds = listOf(aTag.kind),
tags = mapOf("d" to listOf(aTag.dTag)),
authors = listOf(aTag.pubKeyHex.substring(0, 8))
authors = listOf(aTag.pubKeyHex)
)
)
}

View File

@ -54,7 +54,7 @@ object NostrSingleEventDataSource : NostrDataSource("SingleEventFeed") {
filter = JsonFilter(
kinds = listOf(aTag.kind),
tags = mapOf("d" to listOf(aTag.dTag)),
authors = listOf(aTag.pubKeyHex.substring(0, 8))
authors = listOf(aTag.pubKeyHex)
)
)
}