mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 08:54:35 +03:00
webmail: in message view, under More, add button to open currently displayed part (either text or html) as raw text (but decoded if in base64/quoted-printable/etc).
This commit is contained in:
@ -186,8 +186,7 @@ type ParsedMessage struct {
|
||||
Headers map[string][]string
|
||||
ViewMode store.ViewMode
|
||||
|
||||
// Text parts, can be empty.
|
||||
Texts []string
|
||||
Texts []string // Contents of text parts, can be empty.
|
||||
|
||||
// Whether there is an HTML part. The webclient renders HTML message parts through
|
||||
// an iframe and a separate request with strict CSP headers to prevent script
|
||||
@ -198,6 +197,9 @@ type ParsedMessage struct {
|
||||
|
||||
ListReplyAddress *MessageAddress // From List-Post.
|
||||
|
||||
TextPaths [][]int // Paths to text parts.
|
||||
HTMLPath []int // Path to HTML part.
|
||||
|
||||
// Information used by MessageItem, not exported in this type.
|
||||
envelope MessageEnvelope
|
||||
attachments []Attachment
|
||||
|
Reference in New Issue
Block a user