summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/commands/thread.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index e311b335..aba49eae 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -296,10 +296,9 @@ class ReplyCommand(Command):
envelope.add('References', '<%s>' % message.id)
# continue to compose
- encrypt = mail.get_content_subtype() == 'encrypted'
await ui.apply_command(ComposeCommand(envelope=envelope,
spawn=self.force_spawn,
- encrypt=encrypt))
+ encrypt = message.body.is_encrypted))
@registerCommand(MODE, 'forward', arguments=[