Update config

This commit is contained in:
Till Faelligen 2022-02-11 16:50:37 +01:00
parent 857cfd73ad
commit 2819183c2b
2 changed files with 2 additions and 0 deletions

View file

@ -70,6 +70,7 @@ global:
# Server notices allows server admins to send messages to all users.
server_notices:
enabled: false
# The server localpart to be used when sending notices, ensure this is not yet take
local_part: "server"
# The displayname to be used when sending notices

View file

@ -129,6 +129,7 @@ func (c *Metrics) Verify(configErrs *ConfigErrors, isMonolith bool) {
// ServerNotices defines the configuration used for sending server notices
type ServerNotices struct {
Enabled bool `yaml:"enabled"`
// The localpart to be used when sending notices
LocalPart string `yaml:"local_part"`
// The displayname to be used when sending notices