diff options
author | Ruben Pollan <meskio@sindominio.net> | 2015-04-25 02:56:36 +0200 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2015-12-16 15:59:37 +0000 |
commit | c2b7c6dc9a21a08866c08ff3cd852c7c4a497032 (patch) | |
tree | 2d61d083bb9dded42277c201ed0a87eda3fc1805 /alot/commands/thread.py | |
parent | 811dd7be873cbde3268755b46da69a6829732cca (diff) |
Encrypt on reply to encrypted email and add 'encrypt_by_default' config
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 0c8c64f9..1d39fc4d 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -242,8 +242,10 @@ class ReplyCommand(Command): envelope.add('References', '<%s>' % self.message.get_message_id()) # continue to compose + encrypt = mail.get_content_subtype() == 'encrypted' ui.apply_command(ComposeCommand(envelope=envelope, - spawn=self.force_spawn)) + spawn=self.force_spawn, + encrypt=encrypt)) def clear_my_address(self, my_addresses, value): """return recipient header without the addresses in my_addresses""" |