From 7edcc9f79409b077b69fb9be0b520c7de0a63464 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Thu, 27 Jan 2022 09:16:54 +0100 Subject: [PATCH] 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 --- commands/msg/reply.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/msg/reply.go b/commands/msg/reply.go index 8b21995..a776837 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() } }