mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-29 19:53:32 +02:00
Increases the limit for notification events to fill up a week's worth of inbox
This commit is contained in:
@@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user