aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-06-29 01:15:19 +0200
committerRobin Jarry <robin@jarry.cc>2024-08-03 20:19:37 +0200
commit954c812d840030f3013ef06621dd537c8b14b23d (patch)
treee1a3a7a0119c246f8969a64691e69c9b7abc0bfe /config
parentcd92da0e893ab6741bb6d411434edbb03a570c7d (diff)
downloadaerc-954c812d840030f3013ef06621dd537c8b14b23d.tar.gz
reply: allow copying to current folder
Add a new copy-to-replied setting in accounts.conf to copy sent replies to the same folder than their replied message. Requested-by: Tristan Partin <tristan@partin.io> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Tristan Partin <tristan@partin.io>
Diffstat (limited to 'config')
-rw-r--r--config/accounts.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/accounts.go b/config/accounts.go
index 77afa0f9..5bbae39f 100644
--- a/config/accounts.go
+++ b/config/accounts.go
@@ -76,6 +76,7 @@ type AccountConfig struct {
Archive string `ini:"archive" default:"Archive"`
CopyTo string `ini:"copy-to"`
+ CopyToReplied bool `ini:"copy-to-replied" default:"false"`
Default string `ini:"default" default:"INBOX"`
Postpone string `ini:"postpone" default:"Drafts"`
From *mail.Address `ini:"from"`