aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config/config.go')
-rw-r--r--pkg/config/config.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index 993cd71..689ad58 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -85,13 +85,13 @@ func (cfg *Config) Validate() error {
}
// Marks whether 'text' part should be included in mails
-func (cfg *Config) WithPartText() bool {
- return util.StrContains(cfg.Parts, "text")
+func (opt GlobalOptions) WithPartText() bool {
+ return util.StrContains(opt.Parts, "text")
}
// Marks whether 'html' part should be included in mails
-func (cfg *Config) WithPartHtml() bool {
- return util.StrContains(cfg.Parts, "html")
+func (opt GlobalOptions) WithPartHtml() bool {
+ return util.StrContains(opt.Parts, "html")
}
// Current feed2imap version
>showed masked packages unmasked by the user similar to stable marked testing ...necoro5-13/+40 2007-03-31changed changelognecoro1-1/+2 2007-03-31Some small changes for etcproposals 1.1necoro1-2/+2 2007-03-31Some small changes for etcproposals 1.1necoro2-3/+3 2007-03-31Some small changes for etcproposals 1.1necoro1-6/+13 2007-03-31Allowed Plugins to have a menunecoro7-201/+315 2007-03-15Added etc-proposals pluginnecoro7-28/+121 2007-03-10Added USE_EXPAND-supportnecoro5-11/+63 2007-03-10Added plugin-data to about-dialognecoro3-197/+264