Adds TrustProvider loader to the account filter
This commit is contained in:
+1
@@ -65,6 +65,7 @@ val AccountInfoAndListsFromKeyKinds2 =
|
|||||||
ProxyRelayListEvent.KIND,
|
ProxyRelayListEvent.KIND,
|
||||||
HashtagListEvent.KIND,
|
HashtagListEvent.KIND,
|
||||||
GeohashListEvent.KIND,
|
GeohashListEvent.KIND,
|
||||||
|
TrustedRelayListEvent.KIND,
|
||||||
)
|
)
|
||||||
|
|
||||||
val AmethystMetadataKinds = listOf(AppSpecificDataEvent.KIND)
|
val AmethystMetadataKinds = listOf(AppSpecificDataEvent.KIND)
|
||||||
|
|||||||
+2
@@ -20,6 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.vitorpamplona.amethyst.service.relayClient.reqCommand.account.metadata
|
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.core.HexKey
|
||||||
import com.vitorpamplona.quartz.nip01Core.metadata.MetadataEvent
|
import com.vitorpamplona.quartz.nip01Core.metadata.MetadataEvent
|
||||||
import com.vitorpamplona.quartz.nip01Core.relay.client.pool.RelayBasedFilter
|
import com.vitorpamplona.quartz.nip01Core.relay.client.pool.RelayBasedFilter
|
||||||
@@ -59,6 +60,7 @@ val BasicAccountInfoKinds2 =
|
|||||||
ProxyRelayListEvent.KIND,
|
ProxyRelayListEvent.KIND,
|
||||||
HashtagListEvent.KIND,
|
HashtagListEvent.KIND,
|
||||||
GeohashListEvent.KIND,
|
GeohashListEvent.KIND,
|
||||||
|
TrustProviderListEvent.KIND,
|
||||||
)
|
)
|
||||||
|
|
||||||
fun filterBasicAccountInfoFromKeys(
|
fun filterBasicAccountInfoFromKeys(
|
||||||
|
|||||||
Reference in New Issue
Block a user