forked from Elara6331/itd
Update default values to reflect new config fields
This commit is contained in:
parent
763d408405
commit
50b17d3266
@ -28,17 +28,21 @@ func init() {
|
||||
}
|
||||
|
||||
func setCfgDefaults() {
|
||||
viper.SetDefault("cfg.version", 2)
|
||||
|
||||
viper.SetDefault("socket.path", "/tmp/itd/socket")
|
||||
|
||||
viper.SetDefault("conn.reconnect", true)
|
||||
|
||||
viper.SetDefault("conn.whitelist.enabled", false)
|
||||
viper.SetDefault("conn.whitelist.devices", []string{})
|
||||
|
||||
viper.SetDefault("on.connect.notify", true)
|
||||
|
||||
viper.SetDefault("on.reconnect.notify", true)
|
||||
viper.SetDefault("on.reconnect.setTime", true)
|
||||
|
||||
viper.SetDefault("notifs.translit.use", []string{"eASCII"})
|
||||
viper.SetDefault("notifs.translit.custom", []string{})
|
||||
|
||||
viper.SetDefault("notifs.ignore.sender", []string{})
|
||||
viper.SetDefault("notifs.ignore.summary", []string{"InfiniTime"})
|
||||
viper.SetDefault("notifs.ignore.body", []string{})
|
||||
|
Loading…
Reference in New Issue
Block a user