mirror of
https://github.com/nostr-protocol/nips.git
synced 2026-01-24 11:08:58 +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)
|
||||
```
|
||||
- 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
|
||||
val encryptedText = intent.data?.getStringExtra("signature")
|
||||
val encryptedText = intent.data?.getStringExtra("result")
|
||||
// the id you sent
|
||||
val id = intent.data?.getStringExtra("id")
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user