Rotates all versions of a note

This commit is contained in:
Vitor Pamplona
2024-03-01 12:15:48 -05:00
parent c23510e05e
commit 21a18cfa38
6 changed files with 167 additions and 44 deletions
@@ -34,6 +34,8 @@ class TextNoteModificationEvent(
content: String,
sig: HexKey,
) : Event(id, pubKey, createdAt, KIND, tags, content, sig) {
fun editedNote() = firstTaggedEvent()
companion object {
const val KIND = 1010
const val ALT = "Content Change Event"