diff options
author | Kegsay <kegan@matrix.org> | 2020-06-05 09:28:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 09:28:15 +0100 |
commit | 29a20d1da7a7f4a04d1e456d72e49424d45d5f4c (patch) | |
tree | 1869aaa85555b6c797e8b7990aec24c27ec5317b /roomserver/inthttp | |
parent | 2bd12f635cef281ab0d497c9e1bafe92247d88d5 (diff) |
General cleanup when making components (#1098)
* Remove ParseMonolith/LoadMonolith
* cleanup which components need to be made
Diffstat (limited to 'roomserver/inthttp')
-rw-r--r-- | roomserver/inthttp/client.go | 6 |
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 |