diff --git a/cmd/dendrite-demo-yggdrasil/main.go b/cmd/dendrite-demo-yggdrasil/main.go index c9e0c58d8..b2d40f4f7 100644 --- a/cmd/dendrite-demo-yggdrasil/main.go +++ b/cmd/dendrite-demo-yggdrasil/main.go @@ -59,6 +59,9 @@ func main() { panic(err) } ygg.SetMulticastEnabled(true) + if instancePeer != nil && *instancePeer != "" { + ygg.SetStaticPeer(*instancePeer) + } cfg := &config.Dendrite{} cfg.SetDefaults()