Add toggles for disabling markdown and HTML

This commit is contained in:
Tulir Asokan
2020-04-04 01:03:17 +03:00
parent 0a493d643c
commit 842aab1324
5 changed files with 21 additions and 3 deletions

View File

@ -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.