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
09967d12e0
commit
04ecd975a9
|
|
@ -71,12 +71,12 @@ 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
|
||||
# The server localpart to be used when sending notices, ensure this is not yet taken
|
||||
local_part: "server"
|
||||
# The displayname to be used when sending notices
|
||||
display_name: "Server alerts"
|
||||
# The avatar of this user
|
||||
avatar: ""
|
||||
# The mxid of the avatar to use
|
||||
avatar_url: ""
|
||||
# The roomname to be used when creating messages
|
||||
room_name: "Server Alerts"
|
||||
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ type ServerNotices struct {
|
|||
// The displayname to be used when sending notices
|
||||
DisplayName string `yaml:"display_name"`
|
||||
// The avatar of this user
|
||||
Avatar string `yaml:"avatar"`
|
||||
AvatarURL string `yaml:"avatar"`
|
||||
// The roomname to be used when creating messages
|
||||
RoomName string `yaml:"room_name"`
|
||||
}
|
||||
|
|
@ -145,7 +145,7 @@ func (c *ServerNotices) Defaults(generate bool) {
|
|||
c.LocalPart = "server"
|
||||
c.DisplayName = "Server Alert"
|
||||
c.RoomName = "Server Alert"
|
||||
c.Avatar = ""
|
||||
c.AvatarURL = ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue