aboutsummaryrefslogtreecommitdiff
path: root/roomserver/inthttp/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'roomserver/inthttp/client.go')
-rw-r--r--roomserver/inthttp/client.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/roomserver/inthttp/client.go b/roomserver/inthttp/client.go
index f8f922fb..99db9e1e 100644
--- a/roomserver/inthttp/client.go
+++ b/roomserver/inthttp/client.go
@@ -45,7 +45,6 @@ const (
type httpRoomserverInternalAPI struct {
roomserverURL string
httpClient *http.Client
- fsAPI fsInputAPI.FederationSenderInternalAPI
immutableCache caching.ImmutableCache
}
@@ -66,11 +65,8 @@ func NewRoomserverClient(
}, nil
}
-// SetFederationSenderInputAPI passes in a federation sender input API reference
-// so that we can avoid the chicken-and-egg problem of both the roomserver input API
-// and the federation sender input API being interdependent.
+// SetFederationSenderInputAPI no-ops in HTTP client mode as there is no chicken/egg scenario
func (h *httpRoomserverInternalAPI) SetFederationSenderAPI(fsAPI fsInputAPI.FederationSenderInternalAPI) {
- h.fsAPI = fsAPI
}
// SetRoomAlias implements RoomserverAliasAPI