diff --git a/setup/config/config.go b/setup/config/config.go index 01205a50..eb371a54 100644 --- a/setup/config/config.go +++ b/setup/config/config.go @@ -292,7 +292,7 @@ func (config *Dendrite) Derive() error { // SetDefaults sets default config values if they are not explicitly set. func (c *Dendrite) Defaults(generate bool) { - c.Version = 1 + c.Version = Version c.Global.Defaults(generate) c.ClientAPI.Defaults(generate)