Skip to content

Commit

Permalink
Fix filter pubkey
Browse files Browse the repository at this point in the history
  • Loading branch information
greenart7c3 committed Nov 13, 2024
1 parent 9fde8f6 commit e37b9b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/com/greenart7c3/nostrsigner/NostrSigner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.vitorpamplona.ammolite.relays.RelaySetupInfoToConnect
import com.vitorpamplona.ammolite.relays.TypedFilter
import com.vitorpamplona.ammolite.relays.filters.SincePerRelayFilter
import com.vitorpamplona.ammolite.service.HttpClientManager
import com.vitorpamplona.quartz.encoders.toHexKey
import com.vitorpamplona.quartz.encoders.toNpub
import com.vitorpamplona.quartz.events.Event
import com.vitorpamplona.quartz.events.EventInterface
Expand Down Expand Up @@ -254,7 +255,7 @@ class NostrSigner : Application() {
types = COMMON_FEED_TYPES,
filter = SincePerRelayFilter(
kinds = listOf(MetadataEvent.KIND),
authors = listOf(account.signer.keyPair.pubKey.toNpub()),
authors = listOf(account.signer.keyPair.pubKey.toHexKey()),
limit = 1,
),
),
Expand Down

0 comments on commit e37b9b1

Please sign in to comment.