summaryrefslogtreecommitdiff
path: root/alot/commands/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/thread.py')
-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 d0926692..e71bb588 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -360,7 +360,7 @@ class ForwardCommand(Command):
envelope.attach(a)
# copy subject
- subject = mail.get('Subject', '')
+ subject = message.headers.get('Subject') or ''
subject = 'Fwd: ' + subject
forward_subject_hook = settings.get_hook('forward_subject')
if forward_subject_hook: