From 842aab13243b0c14f20ae8a3a1d8501a33920501 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 4 Apr 2020 01:03:17 +0300 Subject: Add toggles for disabling markdown and HTML --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') 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. -- cgit v1.2.3