mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-25 15:00:55 +02:00
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> {
|
||||
val returningList = feed().take(100)
|
||||
val returningList = feed().take(1000)
|
||||
|
||||
// prepare previews
|
||||
val scope = CoroutineScope(Job() + Dispatchers.IO)
|
||||
|
@@ -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))
|
||||
)
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user