mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-31 10: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 allows server admins to send messages to all users.
|
||||||
server_notices:
|
server_notices:
|
||||||
|
enabled: false
|
||||||
# The server localpart to be used when sending notices, ensure this is not yet take
|
# The server localpart to be used when sending notices, ensure this is not yet take
|
||||||
local_part: "server"
|
local_part: "server"
|
||||||
# The displayname to be used when sending notices
|
# 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
|
// ServerNotices defines the configuration used for sending server notices
|
||||||
type ServerNotices struct {
|
type ServerNotices struct {
|
||||||
|
Enabled bool `yaml:"enabled"`
|
||||||
// The localpart to be used when sending notices
|
// The localpart to be used when sending notices
|
||||||
LocalPart string `yaml:"local_part"`
|
LocalPart string `yaml:"local_part"`
|
||||||
// The displayname to be used when sending notices
|
// The displayname to be used when sending notices
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue