mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
webmail: move 2 config options from localstorage to the settings popup, storing their values on the server
these settings are applied anywhere the webmail is open. the settings are for showing keyboard shortcuts in the lower right after a mouse interaction, and showing additional headers. the shorcuts were configurable in the "help" popup before. the additional headers were only configurable through the developer console before. the "mailto:" (un)register buttons are now in the settings popup too.
This commit is contained in:
@ -741,6 +741,12 @@ type Settings struct {
|
||||
|
||||
// Show HTML version of message by default, instead of plain text.
|
||||
ShowHTML bool
|
||||
|
||||
// If true, don't show shortcuts in webmail after mouse interaction.
|
||||
NoShowShortcuts bool
|
||||
|
||||
// Additional headers to display in message view. E.g. Delivered-To, User-Agent, X-Mox-Reason.
|
||||
ShowHeaders []string
|
||||
}
|
||||
|
||||
// ViewMode how a message should be viewed: its text parts, html parts, or html
|
||||
|
Reference in New Issue
Block a user