aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-12-13 13:29:43 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2021-12-13 13:29:43 +0000
commit002c3e0a5ff18c0b36c4c8e6cebea61547c9ac51 (patch)
treedb2d4ef4f138a2a9c67349f3b3beb8140b70c72d /cmd
parent6b574ac53749c9703696ebec97d24373086cfd71 (diff)
Fix build error
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dendritejs-pinecone/main.go2
-rw-r--r--cmd/dendritejs/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dendritejs-pinecone/main.go b/cmd/dendritejs-pinecone/main.go
index 8bcb063e..d83e9ce0 100644
--- a/cmd/dendritejs-pinecone/main.go
+++ b/cmd/dendritejs-pinecone/main.go
@@ -198,7 +198,7 @@ func startup() {
base, userAPI, rsAPI,
)
rsAPI.SetAppserviceAPI(asQuery)
- fedSenderAPI := federationapi.NewInternalAPI(base, federation, rsAPI, base.Caches, true)
+ fedSenderAPI := federationapi.NewInternalAPI(base, federation, rsAPI, base.Caches, keyRing, true)
rsAPI.SetFederationAPI(fedSenderAPI, keyRing)
monolith := setup.Monolith{
diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go
index 789ea98e..13a0872d 100644
--- a/cmd/dendritejs/main.go
+++ b/cmd/dendritejs/main.go
@@ -210,7 +210,7 @@ func main() {
base, userAPI, rsAPI,
)
rsAPI.SetAppserviceAPI(asQuery)
- fedSenderAPI := federationapi.NewInternalAPI(base, federation, rsAPI, base.Caches, true)
+ fedSenderAPI := federationapi.NewInternalAPI(base, federation, rsAPI, base.Caches, keyRing, true)
rsAPI.SetFederationAPI(fedSenderAPI, keyRing)
p2pPublicRoomProvider := NewLibP2PPublicRoomsProvider(node, fedSenderAPI, federation)