Enable presence by default

This commit is contained in:
Till Faelligen 2021-10-05 23:39:22 +02:00
parent 78b5465902
commit 4cce705dc8

View file

@ -65,6 +65,7 @@ func (c *Global) Defaults() {
_, c.PrivateKey, _ = ed25519.GenerateKey(rand.New(rand.NewSource(0))) _, c.PrivateKey, _ = ed25519.GenerateKey(rand.New(rand.NewSource(0)))
c.KeyID = "ed25519:auto" c.KeyID = "ed25519:auto"
c.KeyValidityPeriod = time.Hour * 24 * 7 c.KeyValidityPeriod = time.Hour * 24 * 7
c.PresenceEnabled = true
c.Kafka.Defaults() c.Kafka.Defaults()
c.Metrics.Defaults() c.Metrics.Defaults()