upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2024-01-20 21:25:24 -0300
committerfiatjaf <fiatjaf@gmail.com>2024-02-23 20:52:15 -0300
commite4d7618ace09557ff8de6b61174e3626e0152d59 (patch)
tree360d8af375b44acc17848d9db9a1c325581f8d1a
parentdc290d51bc9bcd1933b0fcd9e2f84e9e5fb21c04 (diff)
remove naddr stuff, use a different identifier format.
-rw-r--r--29.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/29.md b/29.md
index a267ea7..3d648dc 100644
--- a/29.md
+++ b/29.md
@@ -18,6 +18,10 @@ Normally a group will originally belong to one specific relay, but the community
18 18
19Relays are supposed to generate the events that describe group metadata and group admins. These are parameterized replaceable events signed by the relay keypair directly, with the group _id_ as the `d` tag. 19Relays are supposed to generate the events that describe group metadata and group admins. These are parameterized replaceable events signed by the relay keypair directly, with the group _id_ as the `d` tag.
20 20
21## Group identifier
22
23A group may be identified by a string in the format `<host>'<group-id>`. For example, a group with _id_ `abcdef` hosted at the relay `wss://groups.nostr.com` would be identified by the string `groups.nostr.com'abcdef`.
24
21## The `h` tag 25## The `h` tag
22 26
23Events sent by users to groups (chat messages, text notes, moderation events etc) must have an `h` tag with the value set to the group _id_. 27Events sent by users to groups (chat messages, text notes, moderation events etc) must have an `h` tag with the value set to the group _id_.
@@ -151,8 +155,6 @@ If the group is forked and hosted in multiple relays, there will be multiple ver
151 155
152`name`, `picture` and `about` are basic metadata for the group for display purposes. `public` signals the group can be _read_ by anyone, while `private` signals that only AUTHed users can read. `open` signals that anyone can request to join and the request will be automatically granted, while `closed` signals that members must be pre-approved or that requests to join will be manually handled. 156`name`, `picture` and `about` are basic metadata for the group for display purposes. `public` signals the group can be _read_ by anyone, while `private` signals that only AUTHed users can read. `open` signals that anyone can request to join and the request will be automatically granted, while `closed` signals that members must be pre-approved or that requests to join will be manually handled.
153 157
154The [NIP-19](19.md) `naddr` pointer for this event including with a mandatory relay can be used as the canonical group identifier.
155
156- *group admins* (`kind:39001`) (optional) 158- *group admins* (`kind:39001`) (optional)
157 159
158Similar to the group metadata, this event is supposed to be generated by relays that host the group. 160Similar to the group metadata, this event is supposed to be generated by relays that host the group.