diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-07-30 14:34:49 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-07-30 14:34:49 +0300 |
commit | 0d12947b1f70745d8023c89e22432f2a1353dfbb (patch) | |
tree | 048d98d1484851caaffc3c5463619442d8fee734 /config | |
parent | ecdd4f08cb262c8f0c988209e6296c068e1d4cf3 (diff) | |
parent | 2f5f0674b600f129204958c810843d998f6a2f6a (diff) |
Merge branch 'verification'
Fixes #160
Fixes #161
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go index a958b1c..03e186f 100644 --- a/config/config.go +++ b/config/config.go @@ -62,7 +62,8 @@ type Config struct { RoomCacheSize int `yaml:"room_cache_size"` RoomCacheAge int64 `yaml:"room_cache_age"` - NotifySound bool `yaml:"notify_sound"` + NotifySound bool `yaml:"notify_sound"` + SendToVerifiedOnly bool `yaml:"send_to_verified_only"` Dir string `yaml:"-"` DataDir string `yaml:"data_dir"` @@ -96,7 +97,8 @@ func NewConfig(configDir, dataDir, cacheDir, downloadDir string) *Config { RoomCacheSize: 32, RoomCacheAge: 1 * 60, - NotifySound: true, + NotifySound: true, + SendToVerifiedOnly: false, } } |