mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 09:43:10 -06:00
Update config
This commit is contained in:
parent
857cfd73ad
commit
2819183c2b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue