diff options
Diffstat (limited to 'federationsender/api/query.go')
-rw-r--r-- | federationsender/api/query.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/federationsender/api/query.go b/federationsender/api/query.go index 7a58cc86..bf58d5cc 100644 --- a/federationsender/api/query.go +++ b/federationsender/api/query.go @@ -3,8 +3,8 @@ package api import ( "context" - commonHTTP "github.com/matrix-org/dendrite/common/http" "github.com/matrix-org/dendrite/federationsender/types" + internalHTTP "github.com/matrix-org/dendrite/internal/http" "github.com/matrix-org/gomatrixserverlib" "github.com/opentracing/opentracing-go" @@ -36,7 +36,7 @@ func (h *httpFederationSenderInternalAPI) QueryJoinedHostsInRoom( defer span.Finish() apiURL := h.federationSenderURL + FederationSenderQueryJoinedHostsInRoomPath - return commonHTTP.PostJSON(ctx, span, h.httpClient, apiURL, request, response) + return internalHTTP.PostJSON(ctx, span, h.httpClient, apiURL, request, response) } // QueryJoinedHostServerNamesRequest is a request to QueryJoinedHostServerNames @@ -59,5 +59,5 @@ func (h *httpFederationSenderInternalAPI) QueryJoinedHostServerNamesInRoom( defer span.Finish() apiURL := h.federationSenderURL + FederationSenderQueryJoinedHostServerNamesInRoomPath - return commonHTTP.PostJSON(ctx, span, h.httpClient, apiURL, request, response) + return internalHTTP.PostJSON(ctx, span, h.httpClient, apiURL, request, response) } |