This commit is contained in:
Vitor Pamplona 2024-03-04 19:17:57 -05:00
parent e260b2e785
commit 2519d7d8a3

6
37.md
View File

@ -9,7 +9,7 @@ Editable Short Notes
This NIP allows `.content` modification of `kind:1` short notes while keeping a history of all changes. This NIP allows `.content` modification of `kind:1` short notes while keeping a history of all changes.
`kind:1010` stores the updated content with a `e` tag pointing back to the `kind:1` id. `kind:1010` stores the updated content with an `e` tag pointing back to the `kind:1` id.
```js ```js
{ {
@ -23,9 +23,9 @@ This NIP allows `.content` modification of `kind:1` short notes while keeping a
} }
``` ```
Clients MUST check if the pubkey of the `kind:1010` is the same as the referenced `kind:1` Clients MUST check if the pubkey of the `kind:1010` is the same as the referenced `kind:1`.
Clients SHOULD render the `.content` of the most recent `kind:1010` by `created_at` Clients SHOULD render the `.content` of the most recent `kind:1010` by `created_at`.
Clients MAY present a history of changes over time. Clients MAY present a history of changes over time.