aboutsummaryrefslogtreecommitdiff
path: root/syncapi/routing/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/routing/messages.go')
-rw-r--r--syncapi/routing/messages.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go
index 15add1b4..0999d3e8 100644
--- a/syncapi/routing/messages.go
+++ b/syncapi/routing/messages.go
@@ -36,7 +36,7 @@ type messagesReq struct {
db storage.Database
rsAPI api.RoomserverInternalAPI
federation *gomatrixserverlib.FederationClient
- cfg *config.Dendrite
+ cfg *config.SyncAPI
roomID string
from *types.TopologyToken
to *types.TopologyToken
@@ -61,7 +61,7 @@ func OnIncomingMessagesRequest(
req *http.Request, db storage.Database, roomID string,
federation *gomatrixserverlib.FederationClient,
rsAPI api.RoomserverInternalAPI,
- cfg *config.Dendrite,
+ cfg *config.SyncAPI,
) util.JSONResponse {
var err error