aboutsummaryrefslogtreecommitdiff
path: root/federationapi/api
diff options
context:
space:
mode:
authordevonh <devon.dmytro@gmail.com>2023-07-06 15:15:24 +0000
committerGitHub <noreply@github.com>2023-07-06 15:15:24 +0000
commitd507c5fc9534f2d9e994ce8706f5d51ff192dfdf (patch)
treed357b40f29b89b0b5a4466a3915f1b26ba0cb080 /federationapi/api
parentfea946d9148338f75ca3b4eb7ef224a6ea4d0e5b (diff)
Add pseudoID compatibility to Invites (#3126)
Diffstat (limited to 'federationapi/api')
-rw-r--r--federationapi/api/api.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/federationapi/api/api.go b/federationapi/api/api.go
index 5b49e509..756f9bc1 100644
--- a/federationapi/api/api.go
+++ b/federationapi/api/api.go
@@ -63,6 +63,8 @@ type RoomserverFederationAPI interface {
PerformLeave(ctx context.Context, request *PerformLeaveRequest, response *PerformLeaveResponse) error
// Handle sending an invite to a remote server.
SendInvite(ctx context.Context, event gomatrixserverlib.PDU, strippedState []gomatrixserverlib.InviteStrippedState) (gomatrixserverlib.PDU, error)
+ // Handle sending an invite to a remote server.
+ SendInviteV3(ctx context.Context, event gomatrixserverlib.ProtoEvent, invitee spec.UserID, version gomatrixserverlib.RoomVersion, strippedState []gomatrixserverlib.InviteStrippedState) (gomatrixserverlib.PDU, error)
// Handle an instruction to peek a room on a remote server.
PerformOutboundPeek(ctx context.Context, request *PerformOutboundPeekRequest, response *PerformOutboundPeekResponse) error
// Query the server names of the joined hosts in a room.