summaryrefslogtreecommitdiff
path: root/alot/account.py
diff options
context:
space:
mode:
authorsgelb <stephan.halbritter@haw-hamburg.de>2019-07-06 14:29:42 +0200
committersgelb <stephan.halbritter@haw-hamburg.de>2019-07-07 23:32:44 +0200
commitf1c759682f34b7a5d20c940bcc28a3603822b1fc (patch)
treed655f30f0b4b37dd4ff4228a5145c0fe5e8fbaa8 /alot/account.py
parentf9689575e771aaa2e6cd4da13b71b88cf8e9e246 (diff)
Options overwrite default values for sent_tags and draft_tags
In addition, remove hardcoded default values from `account.py` and use defaults from `alot.rc.spec`
Diffstat (limited to 'alot/account.py')
-rw-r--r--alot/account.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/alot/account.py b/alot/account.py
index 8a32a85c..72b6cef0 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -203,15 +203,6 @@ class Account:
abook=None, sign_by_default=False,
encrypt_by_default=u"none", encrypt_to_self=None,
case_sensitive_username=False, **_):
- sent_tags = sent_tags or []
- if 'sent' not in sent_tags:
- sent_tags.append('sent')
- 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 = [