fix reply cmd when no aliases configured v1 PROPOSED

anianz: 1
 fix reply cmd when no aliases configured

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/aerc/patches/12100/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] fix reply cmd when no aliases configured Export this patch

From: anianz <a.ziegler@cioplenu.de>

fixes a bug introduce with 6a1c0f6 which caused the reply command to
error when now aliases where configured for the account. Instead of
failing in that case it now just loggs an error
This is my first email patch so let me know if something can be done

 commands/msg/reply.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index d4b3be6..98f963f 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -66,7 +66,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
	alias_of_us, err := format.ParseAddressList(conf.Aliases)
	if err != nil {
		return err
		acct.Logger().Println("Cannot read alias list")
	store := widget.Store()
	if store == nil {