aboutsummaryrefslogtreecommitdiff
path: root/federationsender/federationsender.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationsender/federationsender.go')
-rw-r--r--federationsender/federationsender.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/federationsender/federationsender.go b/federationsender/federationsender.go
index 446f920c..cca847a5 100644
--- a/federationsender/federationsender.go
+++ b/federationsender/federationsender.go
@@ -15,8 +15,6 @@
package federationsender
import (
- "net/http"
-
"github.com/matrix-org/dendrite/federationsender/api"
"github.com/matrix-org/dendrite/federationsender/consumers"
"github.com/matrix-org/dendrite/federationsender/internal"
@@ -72,9 +70,7 @@ func SetupFederationSenderComponent(
statistics,
)
- if base.EnableHTTPAPIs {
- queryAPI.SetupHTTP(http.DefaultServeMux)
- }
+ queryAPI.SetupHTTP(base.InternalAPIMux)
return queryAPI
}