Fixing Zap counter in the Profile Page.
This commit is contained in:
@@ -133,7 +133,7 @@ abstract class NostrDataSource<T>(val debugName: String) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun loadTop(): List<T> {
|
fun loadTop(): List<T> {
|
||||||
val returningList = feed().take(100)
|
val returningList = feed().take(1000)
|
||||||
|
|
||||||
// prepare previews
|
// prepare previews
|
||||||
val scope = CoroutineScope(Job() + Dispatchers.IO)
|
val scope = CoroutineScope(Job() + Dispatchers.IO)
|
||||||
|
|||||||
@@ -48,8 +48,7 @@ object NostrUserProfileDataSource: NostrDataSource<Note>("UserProfileFeed") {
|
|||||||
types = FeedType.values().toSet(),
|
types = FeedType.values().toSet(),
|
||||||
filter = JsonFilter(
|
filter = JsonFilter(
|
||||||
kinds = listOf(LnZapEvent.kind),
|
kinds = listOf(LnZapEvent.kind),
|
||||||
tags = mapOf("e" to listOf(user!!.pubkeyHex)),
|
tags = mapOf("p" to listOf(user!!.pubkeyHex))
|
||||||
limit = 100
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user