nip29: remove poorly-thought group identifier recommendation.

This commit is contained in:
fiatjaf
2026-05-20 10:56:50 -03:00
parent 407625bf77
commit 175ad95111
+1 -5
View File
@@ -20,11 +20,7 @@ Relays are supposed to generate the events that describe group metadata and grou
## Group identifier
A 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`.
Group identifiers must be strings restricted to the characters `a-z0-9-_`, and SHOULD be random in order to avoid name collisions.
When encountering just the `<host>` without the `'<group-id>`, clients MAY infer `_` as the group id, which is a special top-level group dedicated to relay-local discussions.
A group may be identified by a `naddr1...` code to its `kind:39000` metadata event, with the public key set to the relay `self` public key, the `d` identifier set to the group id, the kind set to `39000` and a relay hint to the relay that is hosting the group.
## The `h` tag