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: 877a94f5d9 ("compose: add default template for new messages")
Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Robin Jarry 2022-01-27 09:16:54 +01:00
parent 7c945149a6
commit 7edcc9f794
1 changed files with 3 additions and 0 deletions

View File

@ -221,6 +221,9 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
}) })
return nil return nil
} else { } else {
if template == "" {
template = aerc.Config().Templates.NewMessage
}
return addTab() return addTab()
} }
} }