aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDigital <digidev@digitalville.de>2018-06-30 22:26:40 +0200
committerTulir Asokan <tulir@maunium.net>2018-06-30 23:26:40 +0300
commitbf84fc09b216bd4669d9a0ed9bba30209f0cb7a8 (patch)
tree12712d67ad64e9632e3321a3ab9f30f12dffb9ca /config
parentc3f30a160f68cd120b99adc6505f1ff073407c55 (diff)
Add option to disable typing notifications (#63)
Diffstat (limited to 'config')
-rw-r--r--config/config.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/config.go b/config/config.go
index 09e7f0d..8431c9b 100644
--- a/config/config.go
+++ b/config/config.go
@@ -37,10 +37,11 @@ type AuthCache struct {
}
type UserPreferences struct {
- HideUserList bool `yaml:"hide_user_list"`
- HideRoomList bool `yaml:"hide_room_list"`
- BareMessageView bool `yaml:"bare_message_view"`
- DisableImages bool `yaml:"disable_images"`
+ HideUserList bool `yaml:"hide_user_list"`
+ HideRoomList bool `yaml:"hide_room_list"`
+ BareMessageView bool `yaml:"bare_message_view"`
+ DisableImages bool `yaml:"disable_images"`
+ DisableTypingNotifs bool `yaml:"disable_typing_notifs"`
}
// Config contains the main config of gomuks.