Remove dead code

This commit is contained in:
Neil Alexander 2021-03-04 15:08:56 +00:00
parent 05ec2e6dc7
commit ff04a962f1
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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,
}
}