Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ae952e3
NIP-29: Simple Group Chat.
fiatjaf May 28, 2023
1640780
split hostname and subgroup path into two different tag items.
fiatjaf May 28, 2023
d1f08d7
add and remove permissions actions.
fiatjaf May 28, 2023
5084fe2
fix kind number for moderation event.
fiatjaf May 29, 2023
c2cecdd
add missing / to "flavors" in example.
fiatjaf May 29, 2023
3ed14fe
some new ideas + making this universal and not only applicable to chat.
fiatjaf Nov 4, 2023
a91798b
fix delete-message => delete-event.
fiatjaf Nov 4, 2023
513644d
flesh out the entire thing.
fiatjaf Nov 10, 2023
5551f1f
saner approach with multiple kinds for moderation.
fiatjaf Nov 11, 2023
94da86a
delete-event as kind 9005.
fiatjaf Nov 11, 2023
3e638ea
update meta events description.
fiatjaf Nov 11, 2023
50db74f
`public` and `open` tags and join request event.
fiatjaf Nov 22, 2023
7e7ddea
edit-group-status permission.
fiatjaf Nov 22, 2023
363212b
add kinds to README.
fiatjaf Nov 23, 2023
5e0c0b5
add kind:12
pablof7z Dec 5, 2023
6698d91
add nip-10 note
pablof7z Dec 5, 2023
5a3097c
add optional list of members
pablof7z Dec 25, 2023
1f92cd0
admins prefixed by "p".
fiatjaf Jan 3, 2024
a528587
remove "alt" from event templates for brevity.
fiatjaf Jan 18, 2024
c9ff5f6
add kind 10009 for public list of simple groups.
fiatjaf Jan 19, 2024
dc290d5
update "previous" stuff.
fiatjaf Jan 19, 2024
e4d7618
remove naddr stuff, use a different identifier format.
fiatjaf Jan 21, 2024
188f398
remove reference to trimmed signatures until that is more developed.
fiatjaf Feb 1, 2024
e976d2f
add kind:10 threaded chat replies.
fiatjaf Feb 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add nip-10 note
  • Loading branch information
pablof7z authored and fiatjaf committed Feb 23, 2024
commit 6698d91382a72922dfee3bc7c20163ab8f70d0eb
7 changes: 6 additions & 1 deletion 29.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,17 @@ This is the basic unit of a "microblog" reply note sent to a group.
"content": "pizza is disgusting and you should be ashamed",
"tags": [
["h", "<group-id>"],
[ "e", "<reply-event-id>"],
["e", "<reply-event-id>", "", "root"],
["previous", "<event-id>", "<event-id>", ...]
]
...
```

Replies SHOULD use NIP-10 markers, leaving an empty relay url:

* `["e", "<kind-11-root-id>", "", "root"]`
* `["e", "<kind-12-event-id>", "", "reply"]`

- *chat message* (`kind:9`)

Similar to `kind:11`, this is the basic unit of a chat message sent to a group.
Expand Down