Skip to content

Commit

Permalink
Clarify that /invite will respond with 200 if the user is already inv…
Browse files Browse the repository at this point in the history
…ited to the room (#1084)

* Clarify that /invite will respond with 200 if the user is already in the room

* Create 1084.clarification

* Update changelogs/client_server/newsfragments/1084.clarification

Co-authored-by: Travis Ralston <travpc@gmail.com>
  • Loading branch information
Half-Shot and turt2live committed Jul 4, 2022
1 parent 83055f2 commit cf6544c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1084.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Mention that the `/rooms/{roomId}/invite` endpoint will return a 200 response if the user is already invited to the room.
2 changes: 1 addition & 1 deletion data/api/client-server/inviting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ paths:
required: ["user_id"]
responses:
200:
description: The user has been invited to join the room.
description: The user has been invited to join the room, or was already invited to the room.
examples:
application/json: {
}
Expand Down

0 comments on commit cf6544c

Please sign in to comment.