diff --git a/appservice/query/query.go b/appservice/query/query.go index 35339539d..b4c335287 100644 --- a/appservice/query/query.go +++ b/appservice/query/query.go @@ -20,7 +20,6 @@ import ( "context" "net/http" "net/url" - "time" "github.com/matrix-org/dendrite/appservice/api" "github.com/matrix-org/dendrite/setup/config" @@ -160,10 +159,3 @@ func (a *AppServiceQueryAPI) UserIDExists( response.UserIDExists = false return nil } - -// makeHTTPClient creates an HTTP client with certain options that will be used for all query requests to application services -func makeHTTPClient() *http.Client { - return &http.Client{ - Timeout: time.Second * 30, - } -}