mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
webmail: add setting to show html version of a message by default, instead of text version
related to issue #196 by GildedHonour
This commit is contained in:
@ -738,6 +738,9 @@ type Settings struct {
|
||||
// Whether to show the bars underneath the address input fields indicating
|
||||
// starttls/dnssec/dane/mtasts/requiretls support by address.
|
||||
ShowAddressSecurity bool
|
||||
|
||||
// Show HTML version of message by default, instead of plain text.
|
||||
ShowHTML bool
|
||||
}
|
||||
|
||||
// ViewMode how a message should be viewed: its text parts, html parts, or html
|
||||
@ -745,7 +748,6 @@ type Settings struct {
|
||||
type ViewMode string
|
||||
|
||||
const (
|
||||
ModeDefault ViewMode = ""
|
||||
ModeText ViewMode = "text"
|
||||
ModeHTML ViewMode = "html"
|
||||
ModeHTMLExt ViewMode = "htmlext" // HTML with external resources.
|
||||
|
Reference in New Issue
Block a user