aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendritejs
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-12-18 13:33:28 +0000
committerGitHub <noreply@github.com>2020-12-18 13:33:28 +0000
commitfac71edc62508e517b188e00fb64651910761ff0 (patch)
tree8da8cc87de327c3fffa0325f16491b47ab34d2fb /cmd/dendritejs
parent65ff5c9a2c0b81cb9c6df6fb6e27418577eb1160 (diff)
Fix #1655 by re-adding the appservice alias query (#1660)
Diffstat (limited to 'cmd/dendritejs')
-rw-r--r--cmd/dendritejs/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go
index f247bc24..1ffb1667 100644
--- a/cmd/dendritejs/main.go
+++ b/cmd/dendritejs/main.go
@@ -207,6 +207,7 @@ func main() {
asQuery := appservice.NewInternalAPI(
base, userAPI, rsAPI,
)
+ rsAPI.SetAppserviceAPI(asQuery)
fedSenderAPI := federationsender.NewInternalAPI(base, federation, rsAPI, &keyRing)
rsAPI.SetFederationSenderAPI(fedSenderAPI)
p2pPublicRoomProvider := NewLibP2PPublicRoomsProvider(node, fedSenderAPI, federation)