diff options
author | Robin Jarry <robin@jarry.cc> | 2022-01-27 09:16:54 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-27 09:16:54 +0100 |
commit | 7edcc9f79409b077b69fb9be0b520c7de0a63464 (patch) | |
tree | a8c82d97ec04193dc09ca3c76de587b88137c5b4 | |
parent | 7c945149a693adf45e0fe05eb3896d7eeb418bd7 (diff) | |
download | aerc-7edcc9f79409b077b69fb9be0b520c7de0a63464.tar.gz |
reply: use new-message template for non-quoted replies
Unless a template is specified with reply -T, use the new-message
template for non-quoted replies.
Fixes: 877a94f5d9a7 ("compose: add default template for new messages")
Signed-off-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | commands/msg/reply.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go index 8b21995c..a7768372 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -221,6 +221,9 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error { }) return nil } else { + if template == "" { + template = aerc.Config().Templates.NewMessage + } return addTab() } } |