From 52f4e67015ba6450be34a27032b8dc22625ed14d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 10 Feb 2021 16:10:32 +0100 Subject: commands/thread:ReplyCommand: drop unnecessary call to parseaddr() --- alot/commands/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alot/commands/thread.py b/alot/commands/thread.py index b57a6c02..e311b335 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -158,7 +158,7 @@ class ReplyCommand(Command): mail = message.get_email() # set body text - name, address = parseaddr(mail['From']) + name, address = message.get_author() timestamp = message.date qf = settings.get_hook('reply_prefix') if qf: -- cgit v1.2.3