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:
parent
7c945149a6
commit
7edcc9f794
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue