aboutsummaryrefslogtreecommitdiff
path: root/federationapi/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi/api/api.go')
-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.