diff options
author | Robin Jarry <robin@jarry.cc> | 2024-06-29 01:15:19 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-03 20:19:37 +0200 |
commit | 954c812d840030f3013ef06621dd537c8b14b23d (patch) | |
tree | e1a3a7a0119c246f8969a64691e69c9b7abc0bfe /app/compose.go | |
parent | cd92da0e893ab6741bb6d411434edbb03a570c7d (diff) | |
download | aerc-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 'app/compose.go')
-rw-r--r-- | app/compose.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/compose.go b/app/compose.go index 38d94359..7c580032 100644 --- a/app/compose.go +++ b/app/compose.go @@ -132,6 +132,10 @@ func (c *Composer) SelectedDirectory() string { return c.seldir } +func (c *Composer) Parent() *models.OriginalMail { + return c.parent +} + func (c *Composer) SwitchAccount(newAcct *AccountView) error { if c.acct == newAcct { log.Tracef("same accounts: no switch") |