aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-libp2p/main.go
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/dendrite-demo-libp2p/main.go
parent65ff5c9a2c0b81cb9c6df6fb6e27418577eb1160 (diff)
Fix #1655 by re-adding the appservice alias query (#1660)
Diffstat (limited to 'cmd/dendrite-demo-libp2p/main.go')
-rw-r--r--cmd/dendrite-demo-libp2p/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dendrite-demo-libp2p/main.go b/cmd/dendrite-demo-libp2p/main.go
index 92c283b5..3acec2fd 100644
--- a/cmd/dendrite-demo-libp2p/main.go
+++ b/cmd/dendrite-demo-libp2p/main.go
@@ -161,6 +161,7 @@ func main() {
&base.Base, cache.New(), userAPI,
)
asAPI := appservice.NewInternalAPI(&base.Base, userAPI, rsAPI)
+ rsAPI.SetAppserviceAPI(asAPI)
fsAPI := federationsender.NewInternalAPI(
&base.Base, federation, rsAPI, keyRing,
)