summaryrefslogtreecommitdiff
path: root/alot/account.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-04-25 02:56:36 +0200
committerPatrick Totzke <patricktotzke@gmail.com>2015-12-16 15:59:37 +0000
commitc2b7c6dc9a21a08866c08ff3cd852c7c4a497032 (patch)
tree2d61d083bb9dded42277c201ed0a87eda3fc1805 /alot/account.py
parent811dd7be873cbde3268755b46da69a6829732cca (diff)
Encrypt on reply to encrypted email and add 'encrypt_by_default' config
Diffstat (limited to 'alot/account.py')
-rw-r--r--alot/account.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/alot/account.py b/alot/account.py
index 0e40a816..db1ef288 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -50,11 +50,12 @@ class Account(object):
managing this accounts contacts"""
def __init__(self, address=None, aliases=None, alias_regexp=None,
- realname=None, gpg_key=None, signature=None,
- signature_filename=None, signature_as_attachment=False,
- sent_box=None, sent_tags=['sent'], draft_box=None,
- draft_tags=['draft'], abook=None, sign_by_default=False,
- **rest):
+ realname=None, gpg_key=None, signature=None,
+ signature_filename=None, signature_as_attachment=False,
+ sent_box=None, sent_tags=['sent'], draft_box=None,
+ draft_tags=['draft'], abook=None, sign_by_default=False,
+ encrypt_by_default=False,
+ **rest):
self.address = address
self.aliases = aliases
self.alias_regexp = alias_regexp
@@ -64,6 +65,7 @@ class Account(object):
self.signature_filename = signature_filename
self.signature_as_attachment = signature_as_attachment
self.sign_by_default = sign_by_default
+ self.encrypt_by_default = encrypt_by_default
self.sent_box = sent_box
self.sent_tags = sent_tags
self.draft_box = draft_box