Skip to content

Commit

Permalink
Merge pull request #1601 from coracle-social/nip29-join
Browse files Browse the repository at this point in the history
Tweak group join requests to include user feedback
  • Loading branch information
fiatjaf authored Dec 13, 2024
2 parents a1ca7a1 + 4d47b38 commit 561059f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 29.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ These are events that can be sent by users to manage their situation in a group,

- *join request* (`kind:9021`)

Any user can send one of these events to the relay in order to be automatically or manually added to the group. If the group is `open` the relay will automatically issue a `kind:9000` in response adding this user. Otherwise group admins may choose to query for these requests and act upon them.
Any user can send a kind `9021` event to the relay in order to request admission to the group. Relays MUST reject the request if the user has not been added to the group. The accompanying error message SHOULD explain whether the rejection is final, if the request is pending review, or if some other special handling is relevant (e.g. if payment is required). If a user is already a member, the event MUST be rejected with `duplicate: ` as the error message prefix.

```json
{
Expand Down

0 comments on commit 561059f

Please sign in to comment.