summaryrefslogtreecommitdiff
path: root/alot/account.py
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2018-03-05 09:04:04 -0800
committerGitHub <noreply@github.com>2018-03-05 09:04:04 -0800
commit2a8f3413038a79130e75564bcce8f226b8823e1a (patch)
treeaae4c13512928f05d80220d2e21c409088ecb9b5 /alot/account.py
parent5cf212e496faefeb6b4381c8aff19177f66f7bd1 (diff)
parent716f2a9489f0586f8f13c94a3c3149668800b95d (diff)
Merge pull request #1218 from mjg/tag-replied-passed
Tag replied passed
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 c672686d..00c65753 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.