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.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index be1153aa..d0926692 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -356,9 +356,7 @@ class ForwardCommand(Command):
envelope.attach(a)
else: # attach original mode
- # attach original msg
- data = mail.as_string()
- a = Attachment(data, 'message/rfc822', None, ())
+ a = Attachment(message.as_bytes(), 'message/rfc822', None, ())
envelope.attach(a)
# copy subject