From ca554720105bc261203cefe2ad2b124f9c3e4747 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 6 Aug 2025 13:20:00 -0400 Subject: [PATCH] Increases the limit for notification events to fill up a week's worth of inbox --- .../nip01Notifications/FilterNotificationsToPubkey.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/relayClient/reqCommand/account/nip01Notifications/FilterNotificationsToPubkey.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/relayClient/reqCommand/account/nip01Notifications/FilterNotificationsToPubkey.kt index 4f75d1521..9c528f479 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/relayClient/reqCommand/account/nip01Notifications/FilterNotificationsToPubkey.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/relayClient/reqCommand/account/nip01Notifications/FilterNotificationsToPubkey.kt @@ -116,7 +116,7 @@ fun filterNotificationsToPubkey( Filter( kinds = NotificationsPerKeyKinds, tags = mapOf("p" to listOf(pubkey)), - limit = 50, + limit = 500, since = since, ), ), @@ -126,7 +126,7 @@ fun filterNotificationsToPubkey( Filter( kinds = NotificationsPerKeyKinds2, tags = mapOf("p" to listOf(pubkey)), - limit = 100, + limit = 500, since = since, ), ), @@ -147,7 +147,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays( Filter( kinds = SummaryKinds, tags = mapOf("p" to listOf(pubkey)), - limit = 10, + limit = 500, since = since, ), ), @@ -157,7 +157,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays( Filter( kinds = NotificationsPerKeyKinds, tags = mapOf("p" to listOf(pubkey)), - limit = 5, + limit = 500, since = since, ), ), @@ -167,7 +167,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays( Filter( kinds = NotificationsPerKeyKinds2, tags = mapOf("p" to listOf(pubkey)), - limit = 5, + limit = 500, since = since, ), ),