File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
changelogs/server_server/newsfragments Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ Add a note to the invite endpoints that invites to local users may be received twice over federation if the homeserver is already in the room.
Original file line number Diff line number Diff line change 2020 put :
2121 summary : Invites a remote user to a room
2222 description : |-
23- Invites a remote user to a room. Once the event has been signed by both the inviting
23+ Invites a remote user to a room. Once the event has been signed by both the inviting
2424 homeserver and the invited homeserver, it can be sent to all of the servers in the
2525 room by the inviting homeserver.
2626
@@ -32,6 +32,10 @@ paths:
3232 [room version specification](/rooms) for precise event formats. **The request and response
3333 bodies here describe the common event fields in more detail and may be missing other
3434 required fields for a PDU.**
35+
36+ Also note that if the remote homeserver is already in the room, it will receive the
37+ invite event twice; once through this endpoint, and again through a [federation
38+ transaction](/server-server-api/#transactions).
3539 operationId : sendInviteV1
3640 security :
3741 - signedRequest : []
Original file line number Diff line number Diff line change 2424 This API is nearly identical to the v1 API with the exception of the request
2525 body being different, and the response format fixed.
2626
27- Invites a remote user to a room. Once the event has been signed by both the inviting
27+ Invites a remote user to a room. Once the event has been signed by both the inviting
2828 homeserver and the invited homeserver, it can be sent to all of the servers in the
2929 room by the inviting homeserver.
3030
@@ -36,6 +36,10 @@ paths:
3636 [room version specification](/rooms) for precise event formats. **The request and response
3737 bodies here describe the common event fields in more detail and may be missing other
3838 required fields for a PDU.**
39+
40+ Also note that if the remote homeserver is already in the room, it will receive the
41+ invite event twice; once through this endpoint, and again through a [federation
42+ transaction](/server-server-api/#transactions).
3943 operationId : sendInviteV2
4044 security :
4145 - signedRequest : []
You can’t perform that action at this time.
0 commit comments