mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-07-29 16:28:29 -04:00
Add guidelines tag to NIP-29 group metadata
This commit is contained in:
3
29.md
3
29.md
@@ -153,6 +153,7 @@ When this event is not found, clients may still connect to the group, but treat
|
|||||||
["name", "Pizza Lovers"],
|
["name", "Pizza Lovers"],
|
||||||
["picture", "https://pizza.com/pizza.png"],
|
["picture", "https://pizza.com/pizza.png"],
|
||||||
["about", "a group for people who love pizza"],
|
["about", "a group for people who love pizza"],
|
||||||
|
["guidelines", "Rule #1: No pineapple"]
|
||||||
["public"], // or ["private"]
|
["public"], // or ["private"]
|
||||||
["open"] // or ["closed"]
|
["open"] // or ["closed"]
|
||||||
]
|
]
|
||||||
@@ -160,7 +161,7 @@ When this event is not found, clients may still connect to the group, but treat
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
`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.
|
`name`, `picture`, `about`, and `guidelines` 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.
|
||||||
|
|
||||||
- *group admins* (`kind:39001`) (optional)
|
- *group admins* (`kind:39001`) (optional)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user