From ff4f709486a69bc1650db73a003255e58cae0532 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sat, 2 May 2020 02:06:56 +0200 Subject: Embedding images in mail --- pkg/config/config.go | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'pkg') diff --git a/pkg/config/config.go b/pkg/config/config.go index ffb53b7..d1cd4c9 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -37,22 +37,24 @@ var DefaultGlobalOptions = GlobalOptions{ // Per feed options // NB: Always specify a yaml name, as it is later used in processing type Options struct { - MinFreq int `yaml:"min-frequency"` - InclImages bool `yaml:"include-images"` - Disable bool `yaml:"disable"` - IgnHash bool `yaml:"ignore-hash"` - AlwaysNew bool `yaml:"always-new"` - NoTLS bool `yaml:"tls-no-verify"` + MinFreq int `yaml:"min-frequency"` + InclImages bool `yaml:"include-images"` + EmbedImages bool `yaml:"embed-images"` + Disable bool `yaml:"disable"` + IgnHash bool `yaml:"ignore-hash"` + AlwaysNew bool `yaml:"always-new"` + NoTLS bool `yaml:"tls-no-verify"` } // Default feed options var DefaultFeedOptions = Options{ - MinFreq: 1, - InclImages: false, - IgnHash: false, - AlwaysNew: false, - Disable: false, - NoTLS: false, + MinFreq: 1, + InclImages: true, + EmbedImages: false, + IgnHash: false, + AlwaysNew: false, + Disable: false, + NoTLS: false, } // Config holds the global configuration options and the configured feeds -- cgit v1.2.3-70-g09d2