Using the entire event id to filter threads.

This commit is contained in:
Vitor Pamplona
2023-11-28 22:17:24 -05:00
parent e992e72f4d
commit 3bfaef2b45
@@ -17,10 +17,12 @@ object NostrThreadDataSource : NostrDataSource("SingleThreadFeed") {
.toSet()
.ifEmpty { null } ?: return null
if (eventsToLoad.isEmpty()) return null
return TypedFilter(
types = COMMON_FEED_TYPES,
filter = JsonFilter(
ids = eventsToLoad.map { it.substring(0, 8) }
ids = eventsToLoad.toList()
)
)
}