summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorjohn1doe@ya.ru <john1doe@ya.ru>2022-01-31 16:28:58 +0200
committerRobin Jarry <robin@jarry.cc>2022-01-31 16:22:54 +0100
commit27122ef8e885f6824afd395c0c0b7b4f19f71b21 (patch)
treed158fb435aeefce3ff1e103d7ccafaa2839f128b /config/config.go
parent622802d3a5ea980b2d08ffec91497b57d3bae7f4 (diff)
downloadaerc-27122ef8e885f6824afd395c0c0b7b4f19f71b21.zip
compose: add option to never include your own address when replying
Introduce an option in aerc.conf to disable the auto-including of your own address when replying to your own emails (address replies to the original To: and Cc: instead); default to true (allow the auto-including)
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index e2acbaf..8d818c2 100644
--- a/config/config.go
+++ b/config/config.go
@@ -123,6 +123,7 @@ type ComposeConfig struct {
Editor string `ini:"editor"`
HeaderLayout [][]string `ini:"-"`
AddressBookCmd string `ini:"address-book-cmd"`
+ ReplyToSelf bool `ini:"reply-to-self"`
}
type FilterConfig struct {
@@ -595,6 +596,7 @@ func LoadConfigFromFile(root *string, sharedir string, logger *log.Logger) (*Aer
{"To", "From"},
{"Subject"},
},
+ ReplyToSelf: true,
},
Templates: TemplateConfig{