aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-04-16 19:42:55 +0300
committerTulir Asokan <tulir@maunium.net>2020-04-19 15:01:16 +0300
commitbc80ff3a56a81ee07580880bd2a169958910b489 (patch)
treebffd486509553637349e6c26051fa80251256564 /config
parent815190be147e575f12211c468f8121e5c60e6337 (diff)
Add toggle for desktop notifications
Diffstat (limited to 'config')
-rw-r--r--config/config.go19
1 files changed, 10 insertions, 9 deletions
diff --git a/config/config.go b/config/config.go
index 634120b..d85e243 100644
--- a/config/config.go
+++ b/config/config.go
@@ -40,15 +40,16 @@ 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"`
- DisableTypingNotifs bool `yaml:"disable_typing_notifs"`
- DisableEmojis bool `yaml:"disable_emojis"`
- DisableMarkdown bool `yaml:"disable_markdown"`
- DisableHTML bool `yaml:"disable_html"`
- DisableDownloads bool `yaml:"disable_downloads"`
+ 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"`
+ DisableEmojis bool `yaml:"disable_emojis"`
+ DisableMarkdown bool `yaml:"disable_markdown"`
+ DisableHTML bool `yaml:"disable_html"`
+ DisableDownloads bool `yaml:"disable_downloads"`
+ DisableNotifications bool `yaml:"disable_notifications"`
}
// Config contains the main config of gomuks.