summaryrefslogtreecommitdiff
path: root/alot/mail/envelope.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/mail/envelope.py')
-rw-r--r--alot/mail/envelope.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/mail/envelope.py b/alot/mail/envelope.py
index 9af4a42b..4d388aac 100644
--- a/alot/mail/envelope.py
+++ b/alot/mail/envelope.py
@@ -265,7 +265,8 @@ class Envelope:
for a in self.attachments:
mail.add_attachment(a.data, filename = a.filename,
maintype = a.content_maintype,
- subtype = a.content_subtype)
+ subtype = a.content_subtype,
+ params = { k : v for (k, v) in a.params })
if self.sign:
to_sign = mail