~sircmpwn/aerc

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] fix reply cmd when no aliases configured

Details
Message ID
<cLQjVDG30fTfohSln_bdS60VzIQdIDUmDX4hxl7LNV0vorAkgLyFc4END0Yu8ftxpboO3Lqn4Za30wgFeRpY_w18VlIbZJkHODpJqPXu6p8=@anian-ziegler.de>
DKIM signature
pass
Download raw message
Patch: +1 -1
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
better.

 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 {
-- 
2.26.2
Reply to thread Export thread (mbox)