aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/models.go1
-rw-r--r--models/templates.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 42e60b8b..55dd2347 100644
--- a/models/models.go
+++ b/models/models.go
@@ -97,6 +97,7 @@ type MessageInfo struct {
Envelope *Envelope
Flags Flags
Labels []string
+ Filenames []string
InternalDate time.Time
RFC822Headers *mail.Header
Refs []string
diff --git a/models/templates.go b/models/templates.go
index d6b90e88..77f6b787 100644
--- a/models/templates.go
+++ b/models/templates.go
@@ -28,6 +28,8 @@ type TemplateData interface {
SubjectBase() string
Number() int
Labels() []string
+ Filename() string
+ Filenames() []string
Flags() []string
IsReplied() bool
HasAttachment() bool