mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-17 00:44:09 +01:00
Merge 72b34b863f into 817ec5380f
This commit is contained in:
commit
8289665cdb
|
|
@ -0,0 +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.
|
||||||
|
|
@ -32,6 +32,10 @@ paths:
|
||||||
[room version specification](/rooms) for precise event formats. **The request and response
|
[room version specification](/rooms) for precise event formats. **The request and response
|
||||||
bodies here describe the common event fields in more detail and may be missing other
|
bodies here describe the common event fields in more detail and may be missing other
|
||||||
required fields for a PDU.**
|
required fields for a PDU.**
|
||||||
|
|
||||||
|
Also note that if the remote homeserver is already in the room, it will receive the
|
||||||
|
invite event twice; once through this endpoint, and again through a [federation
|
||||||
|
transaction](https://spec.matrix.org/v1.13/server-server-api/#transactions).
|
||||||
operationId: sendInviteV1
|
operationId: sendInviteV1
|
||||||
security:
|
security:
|
||||||
- signedRequest: []
|
- signedRequest: []
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,10 @@ paths:
|
||||||
[room version specification](/rooms) for precise event formats. **The request and response
|
[room version specification](/rooms) for precise event formats. **The request and response
|
||||||
bodies here describe the common event fields in more detail and may be missing other
|
bodies here describe the common event fields in more detail and may be missing other
|
||||||
required fields for a PDU.**
|
required fields for a PDU.**
|
||||||
|
|
||||||
|
Also note that if the remote homeserver is already in the room, it will receive the
|
||||||
|
invite event twice; once through this endpoint, and again through a [federation
|
||||||
|
transaction](https://spec.matrix.org/v1.13/server-server-api/#transactions).
|
||||||
operationId: sendInviteV2
|
operationId: sendInviteV2
|
||||||
security:
|
security:
|
||||||
- signedRequest: []
|
- signedRequest: []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue