diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip46Signer/Nip46SignerState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip46Signer/Nip46SignerState.kt index 3bd46428d7..bad7429191 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip46Signer/Nip46SignerState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip46Signer/Nip46SignerState.kt @@ -59,7 +59,7 @@ import kotlinx.coroutines.launch * * Every request is gated by [Nip46PermissionAuthorizer], i.e. the same * "Connected Apps" trust ledger that governs napplets and web origins: a remote - * client is a connected app under the coordinate `nip46:`. + * client is a connected app under the coordinate `nip46::`. * * The listener restarts whenever the enabled flag or the relay set changes * ([collectLatest] cancels the previous run), so editing inbox relays or toggling diff --git a/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/connectedApps/nip46/Nip46PermissionAuthorizer.kt b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/connectedApps/nip46/Nip46PermissionAuthorizer.kt index eda4e961f7..2a9076d99c 100644 --- a/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/connectedApps/nip46/Nip46PermissionAuthorizer.kt +++ b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/connectedApps/nip46/Nip46PermissionAuthorizer.kt @@ -46,8 +46,10 @@ import com.vitorpamplona.quartz.utils.TimeUtils * [NostrOpDecision]) and surfaced on the same management screen. * * A NIP-46 client is identified by its transport pubkey, mapped to the ledger - * coordinate `nip46:` (see [coordinateFor]) so it lives in its - * own namespace next to `browser:` and napplet `:` keys. + * coordinate `nip46::` (see [coordinateFor]) so it + * lives in its own namespace next to `browser:` and napplet + * `:` keys, and so the same client paired with two accounts on one + * device gets independent grants. * * Authorization mirrors the napplet path: * - each signing/encryption/decryption request maps to a [NostrSignerOp]