summaryrefslogtreecommitdiff
path: root/alot/account.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-03-05 09:10:18 -0800
committerDylan Baker <dylan@pnwbakers.com>2018-03-05 09:10:18 -0800
commit72d2b6576f8ae599e6cbe4f549dafe9952ad3e28 (patch)
treeda23b0d377c3c9e98e6e4128d717fe96e50d81fc /alot/account.py
parent1b066ce56f9f7092e81de8edac50a5fbbbe1c79a (diff)
parent2a8f3413038a79130e75564bcce8f226b8823e1a (diff)
Merge branch 'master' into py3k
This requires regenerating the accounts_table docs, as they've changed for python 3.
Diffstat (limited to 'alot/account.py')
-rw-r--r--alot/account.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/alot/account.py b/alot/account.py
index 03f65561..6cd78919 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -208,7 +208,8 @@ class Account(object):
realname=None, gpg_key=None, signature=None,
signature_filename=None, signature_as_attachment=False,
sent_box=None, sent_tags=None, draft_box=None,
- draft_tags=None, abook=None, sign_by_default=False,
+ draft_tags=None, replied_tags=None, passed_tags=None,
+ abook=None, sign_by_default=False,
encrypt_by_default=u"none", encrypt_to_self=None,
case_sensitive_username=False, **_):
sent_tags = sent_tags or []
@@ -217,6 +218,8 @@ class Account(object):
draft_tags = draft_tags or []
if 'draft' not in draft_tags:
draft_tags.append('draft')
+ replied_tags = replied_tags or []
+ passed_tags = passed_tags or []
self.address = Address.from_string(address, case_sensitive=case_sensitive_username)
self.aliases = [Address.from_string(a, case_sensitive=case_sensitive_username)
@@ -233,6 +236,8 @@ class Account(object):
self.sent_tags = sent_tags
self.draft_box = draft_box
self.draft_tags = draft_tags
+ self.replied_tags = replied_tags
+ self.passed_tags = passed_tags
self.abook = abook
# Handle encrypt_by_default in an backwards compatible way. The
# logging info call can later be upgraded to warning or error.