aboutsummaryrefslogtreecommitdiff
path: root/federationapi/routing/invite.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi/routing/invite.go')
-rw-r--r--federationapi/routing/invite.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/federationapi/routing/invite.go b/federationapi/routing/invite.go
index f424fcac..c1fdf266 100644
--- a/federationapi/routing/invite.go
+++ b/federationapi/routing/invite.go
@@ -25,6 +25,7 @@ import (
roomserverVersion "github.com/matrix-org/dendrite/roomserver/version"
"github.com/matrix-org/dendrite/setup/config"
"github.com/matrix-org/gomatrixserverlib"
+ "github.com/matrix-org/gomatrixserverlib/fclient"
"github.com/matrix-org/util"
)
@@ -218,12 +219,12 @@ func processInvite(
if isInviteV2 {
return util.JSONResponse{
Code: http.StatusOK,
- JSON: gomatrixserverlib.RespInviteV2{Event: signedEvent.JSON()},
+ JSON: fclient.RespInviteV2{Event: signedEvent.JSON()},
}
} else {
return util.JSONResponse{
Code: http.StatusOK,
- JSON: gomatrixserverlib.RespInvite{Event: signedEvent.JSON()},
+ JSON: fclient.RespInvite{Event: signedEvent.JSON()},
}
}
}