Adds TrustProvider loader to the account filter

This commit is contained in:
Vitor Pamplona
2025-11-24 11:03:32 -05:00
parent 1e00c08f7d
commit 1bfe1e4844
2 changed files with 3 additions and 0 deletions
@@ -65,6 +65,7 @@ val AccountInfoAndListsFromKeyKinds2 =
ProxyRelayListEvent.KIND,
HashtagListEvent.KIND,
GeohashListEvent.KIND,
TrustedRelayListEvent.KIND,
)
val AmethystMetadataKinds = listOf(AppSpecificDataEvent.KIND)
@@ -20,6 +20,7 @@
*/
package com.vitorpamplona.amethyst.service.relayClient.reqCommand.account.metadata
import com.vitorpamplona.quartz.experimental.trustedAssertions.list.TrustProviderListEvent
import com.vitorpamplona.quartz.nip01Core.core.HexKey
import com.vitorpamplona.quartz.nip01Core.metadata.MetadataEvent
import com.vitorpamplona.quartz.nip01Core.relay.client.pool.RelayBasedFilter
@@ -59,6 +60,7 @@ val BasicAccountInfoKinds2 =
ProxyRelayListEvent.KIND,
HashtagListEvent.KIND,
GeohashListEvent.KIND,
TrustProviderListEvent.KIND,
)
fun filterBasicAccountInfoFromKeys(