upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2023-12-25 11:57:10 +0000
committerfiatjaf <fiatjaf@gmail.com>2024-02-23 20:52:15 -0300
commit5a3097c6e600051ecbe5b9fc7062d7ac4e0e1fe9 (patch)
treeb2d1c84e4b49d112c514cb59499efc2631bc6fdc
parent6698d91382a72922dfee3bc7c20163ab8f70d0eb (diff)
add optional list of members
-rw-r--r--29.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/29.md b/29.md
index d342ce7..66d391a 100644
--- a/29.md
+++ b/29.md
@@ -183,3 +183,22 @@ The list of capabilities, as defined by this NIP, for now, is the following:
183 ... 183 ...
184} 184}
185``` 185```
186
187- *group members* (`kind:39002`) (optional)
188
189Similar to *group admins*, this event is supposed to be generated by relays that host the group.
190
191It's a NIP-51-like list of pubkeys that are members of the group. Relays might choose to not to publish this information or to restrict what pubkeys can fetch it.
192
193```json
194{
195 "kind": 39002,
196 "content": "list of members for the pizza lovers group",
197 "tags": [
198 ["d", "<group-id>"],
199 ["p", "<admin1>"],
200 ["p", "<member-pubkey1>"],
201 ["p", "<member-pubkey2>"],
202 ]
203}
204```