From bc80ff3a56a81ee07580880bd2a169958910b489 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 16 Apr 2020 19:42:55 +0300 Subject: Add toggle for desktop notifications --- config/config.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'config') 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. -- cgit v1.2.3