Skip to content

Commit

Permalink
Switch to rejecting duplicate joins
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Staab committed Nov 23, 2024
1 parent d09b512 commit 4d47b38
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 @@ -72,7 +72,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 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 accepted.
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 4d47b38

Please sign in to comment.