From 8deeec6f8d52d1d5cbaca0895fc275b175e3aeee Mon Sep 17 00:00:00 2001 From: evan Date: Sun, 1 Mar 2020 04:49:32 -0600 Subject: add notify_sound config option --- config/config.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/config.go') diff --git a/config/config.go b/config/config.go index d2d8ff7..c223ee3 100644 --- a/config/config.go +++ b/config/config.go @@ -56,6 +56,8 @@ type Config struct { RoomCacheSize int `yaml:"room_cache_size"` RoomCacheAge int64 `yaml:"room_cache_age"` + NotifySound bool `yaml:"notify_sound"` + Dir string `yaml:"-"` CacheDir string `yaml:"cache_dir"` HistoryPath string `yaml:"history_path"` @@ -83,6 +85,8 @@ func NewConfig(configDir, cacheDir string) *Config { RoomCacheSize: 32, RoomCacheAge: 1 * 60, + + NotifySound: true, } } -- cgit v1.2.3