File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 20
20
put :
21
21
summary : Invites a remote user to a room
22
22
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
24
24
homeserver and the invited homeserver, it can be sent to all of the servers in the
25
25
room by the inviting homeserver.
26
26
@@ -32,6 +32,10 @@ paths:
32
32
[room version specification](/rooms) for precise event formats. **The request and response
33
33
bodies here describe the common event fields in more detail and may be missing other
34
34
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](https://spec.matrix.org/v1.13/server-server-api/#transactions).
35
39
operationId : sendInviteV1
36
40
security :
37
41
- signedRequest : []
Original file line number Diff line number Diff line change 24
24
This API is nearly identical to the v1 API with the exception of the request
25
25
body being different, and the response format fixed.
26
26
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
28
28
homeserver and the invited homeserver, it can be sent to all of the servers in the
29
29
room by the inviting homeserver.
30
30
@@ -36,6 +36,10 @@ paths:
36
36
[room version specification](/rooms) for precise event formats. **The request and response
37
37
bodies here describe the common event fields in more detail and may be missing other
38
38
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](https://spec.matrix.org/v1.13/server-server-api/#transactions).
39
43
operationId : sendInviteV2
40
44
security :
41
45
- signedRequest : []
You can’t perform that action at this time.
0 commit comments