aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-04-04 01:03:17 +0300
committerTulir Asokan <tulir@maunium.net>2020-04-04 01:03:17 +0300
commit842aab13243b0c14f20ae8a3a1d8501a33920501 (patch)
treeab624cbbd5c57ec80e4d933edce51be02b85d89e /config
parent0a493d643c3a15779dcee35583f8e5c59fde3031 (diff)
Add toggles for disabling markdown and HTML
Diffstat (limited to 'config')
-rw-r--r--config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index c223ee3..b8ff74b 100644
--- a/config/config.go
+++ b/config/config.go
@@ -45,6 +45,8 @@ type UserPreferences struct {
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"`
}
// Config contains the main config of gomuks.