0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-13 19:33:12 +01:00

Fix static peer on Ygg demo build

This commit is contained in:
Neil Alexander 2020-07-07 14:38:59 +01:00
parent b21fad92e5
commit d03f6ac725

View file

@ -59,6 +59,9 @@ func main() {
panic(err)
}
ygg.SetMulticastEnabled(true)
if instancePeer != nil && *instancePeer != "" {
ygg.SetStaticPeer(*instancePeer)
}
cfg := &config.Dendrite{}
cfg.SetDefaults()