mirror of
https://github.com/edufeed-org/nips.git
synced 2025-12-07 23:34:32 +00:00
Switch to rejecting duplicate joins
This commit is contained in:
parent
d09b51246d
commit
4d47b38dbc
1 changed files with 1 additions and 1 deletions
2
29.md
2
29.md
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue