summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-02-10 16:10:32 +0100
committerAnton Khirnov <anton@khirnov.net>2021-02-10 16:12:43 +0100
commit52f4e67015ba6450be34a27032b8dc22625ed14d (patch)
treea04e035df4e1135a9f583ecb0893295d5f719df8
parentb43672e30db207d7d22867a8f9def58f9e989288 (diff)
commands/thread:ReplyCommand: drop unnecessary call to parseaddr()
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
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: