Fixing Zap counter in the Profile Page.

This commit is contained in:
Vitor Pamplona 2023-02-14 11:48:17 -05:00
parent 76737e6b74
commit 6a05039bde
2 changed files with 2 additions and 3 deletions

View File

@ -133,7 +133,7 @@ abstract class NostrDataSource<T>(val debugName: String) {
}
fun loadTop(): List<T> {
val returningList = feed().take(100)
val returningList = feed().take(1000)
// prepare previews
val scope = CoroutineScope(Job() + Dispatchers.IO)

View File

@ -48,8 +48,7 @@ object NostrUserProfileDataSource: NostrDataSource<Note>("UserProfileFeed") {
types = FeedType.values().toSet(),
filter = JsonFilter(
kinds = listOf(LnZapEvent.kind),
tags = mapOf("e" to listOf(user!!.pubkeyHex)),
limit = 100
tags = mapOf("p" to listOf(user!!.pubkeyHex))
)
)
}