mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-09 20:39:24 +02:00
Cut off of 200 messages for each channel
This commit is contained in:
parent
a82f260142
commit
343521ff58
@ -20,7 +20,7 @@ object NostrChannelDataSource: NostrDataSource<Note>("ChatroomFeed") {
|
||||
return JsonFilter(
|
||||
kinds = listOf(ChannelMessageEvent.kind),
|
||||
tags = mapOf("e" to listOfNotNull(channel?.idHex)),
|
||||
since = System.currentTimeMillis() / 1000 - (60 * 60 * 24 * 1), // 24 hours
|
||||
limit = 200
|
||||
)
|
||||
}
|
||||
return null
|
||||
|
Loading…
x
Reference in New Issue
Block a user