mirror of
https://github.com/nostr-protocol/nips.git
synced 2026-01-24 19:19:07 +00:00
NIP-55: Fix return field from nip44_encrypt (#2184)
This commit is contained in:
4
55.md
4
55.md
@@ -210,10 +210,10 @@ launcher.launch(intent)
|
|||||||
context.startActivity(intent)
|
context.startActivity(intent)
|
||||||
```
|
```
|
||||||
- result:
|
- result:
|
||||||
- If the user approved intent it will return the **signature** and **id** fields
|
- If the user approved intent it will return the **result** and **id** fields
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
val encryptedText = intent.data?.getStringExtra("signature")
|
val encryptedText = intent.data?.getStringExtra("result")
|
||||||
// the id you sent
|
// the id you sent
|
||||||
val id = intent.data?.getStringExtra("id")
|
val id = intent.data?.getStringExtra("id")
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user