aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendritejs/main.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-09-04 15:58:30 +0100
committerGitHub <noreply@github.com>2020-09-04 15:58:30 +0100
commit088294ee655282a32f7a418307408291f4299565 (patch)
tree2e3cabce42b85e4523d60096d0fa28f9cea5ae63 /cmd/dendritejs/main.go
parent5076925c184998414c3691e97fc21b554abf4a55 (diff)
Remove QueryRoomsForUser from current state server (#1398)
Diffstat (limited to 'cmd/dendritejs/main.go')
-rw-r--r--cmd/dendritejs/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go
index aeca7094..839bf459 100644
--- a/cmd/dendritejs/main.go
+++ b/cmd/dendritejs/main.go
@@ -210,7 +210,7 @@ func main() {
asQuery := appservice.NewInternalAPI(
base, userAPI, rsAPI,
)
- fedSenderAPI := federationsender.NewInternalAPI(base, federation, rsAPI, stateAPI, &keyRing)
+ fedSenderAPI := federationsender.NewInternalAPI(base, federation, rsAPI, &keyRing)
rsAPI.SetFederationSenderAPI(fedSenderAPI)
p2pPublicRoomProvider := NewLibP2PPublicRoomsProvider(node, fedSenderAPI, federation)