From 88a5e309bd846d2eb2e1db1f6d5df38fff1d0fe6 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 7 Jun 2023 12:03:44 -0400 Subject: [PATCH] Removes kinds from the filter since relays only allow 20 options. In this way, we get everything and filter it locally. --- .../amethyst/service/NostrSingleEventDataSource.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/NostrSingleEventDataSource.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/NostrSingleEventDataSource.kt index 7f44107d4..3a73ad66e 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/NostrSingleEventDataSource.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/NostrSingleEventDataSource.kt @@ -114,17 +114,6 @@ object NostrSingleEventDataSource : NostrDataSource("SingleEventFeed") { TypedFilter( types = COMMON_FEED_TYPES, filter = JsonFilter( - kinds = listOf( - TextNoteEvent.kind, LongTextNoteEvent.kind, PollNoteEvent.kind, - ReactionEvent.kind, RepostEvent.kind, - LnZapEvent.kind, LnZapRequestEvent.kind, - ChannelMessageEvent.kind, ChannelCreateEvent.kind, ChannelMetadataEvent.kind, - BadgeDefinitionEvent.kind, BadgeAwardEvent.kind, BadgeProfilesEvent.kind, - PrivateDmEvent.kind, - FileHeaderEvent.kind, FileStorageEvent.kind, FileStorageHeaderEvent.kind, - HighlightEvent.kind, AudioTrackEvent.kind, PinListEvent.kind, - PeopleListEvent.kind, BookmarkListEvent.kind - ), ids = interestedEvents.toList() ) )