Skip to content

Commit

Permalink
Redo
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Oct 25, 2024
1 parent 8ba2f50 commit 896bfc8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import com.vitorpamplona.ammolite.relays.EVENT_FINDER_TYPES
import com.vitorpamplona.ammolite.relays.Relay
import com.vitorpamplona.ammolite.relays.RelayPool
import com.vitorpamplona.ammolite.relays.TypedFilter
import com.vitorpamplona.ammolite.relays.filters.EOSETime
import com.vitorpamplona.ammolite.relays.filters.SincePerRelayFilter
import com.vitorpamplona.quartz.encoders.Hex
import com.vitorpamplona.quartz.encoders.Nip19Bech32
Expand Down Expand Up @@ -210,8 +211,7 @@ class NotificationsService : Service() {
types = COMMON_FEED_TYPES,
filter = SincePerRelayFilter(
tags = mapOf("p" to listOf(hexKey)),
// since = RelayPool.getAll().associate { it.url to EOSETime(latestNotification) },
limit = 1,
since = RelayPool.getAll().associate { it.url to EOSETime(latestNotification) },
),
),
),
Expand Down

0 comments on commit 896bfc8

Please sign in to comment.