Increases the limit for notification events to fill up a week's worth of inbox

This commit is contained in:
Vitor Pamplona
2025-08-06 13:20:00 -04:00
parent 71bbae2f9b
commit ca55472010

View File

@@ -116,7 +116,7 @@ fun filterNotificationsToPubkey(
Filter( Filter(
kinds = NotificationsPerKeyKinds, kinds = NotificationsPerKeyKinds,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 50, limit = 500,
since = since, since = since,
), ),
), ),
@@ -126,7 +126,7 @@ fun filterNotificationsToPubkey(
Filter( Filter(
kinds = NotificationsPerKeyKinds2, kinds = NotificationsPerKeyKinds2,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 100, limit = 500,
since = since, since = since,
), ),
), ),
@@ -147,7 +147,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays(
Filter( Filter(
kinds = SummaryKinds, kinds = SummaryKinds,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 10, limit = 500,
since = since, since = since,
), ),
), ),
@@ -157,7 +157,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays(
Filter( Filter(
kinds = NotificationsPerKeyKinds, kinds = NotificationsPerKeyKinds,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 5, limit = 500,
since = since, since = since,
), ),
), ),
@@ -167,7 +167,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays(
Filter( Filter(
kinds = NotificationsPerKeyKinds2, kinds = NotificationsPerKeyKinds2,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 5, limit = 500,
since = since, since = since,
), ),
), ),