diff options
author | Pol Van Aubel <dev@polvanaubel.com> | 2015-06-02 16:16:04 +0200 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2016-12-06 14:46:38 +0000 |
commit | fdcd644135556b78733ead49b8f0210b553c94e2 (patch) | |
tree | b44aacf0c610387bb75b5fb17c2c837801375f50 | |
parent | e9062faa5a66ae7b21c7df7cbb0528803ae0b95d (diff) |
Rename to adhere to config option naming scheme.
-rw-r--r-- | alot/commands/thread.py | 2 | ||||
-rw-r--r-- | alot/defaults/alot.rc.spec | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index b6e91c47..3286786c 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -64,7 +64,7 @@ def determine_sender(mail, action='reply'): # Process the headers in order of importance: if a mail was sent with # account X, with account Y in e.g. CC or delivered-to, make sure that # account X is the one selected and not account Y. - candidate_headers = settings.get("determine_reply_account_from_headers") + candidate_headers = settings.get("reply_account_header_priority") for candidate_header in candidate_headers: if realname is not None: break diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec index 5c8bcd07..327bbc28 100644 --- a/alot/defaults/alot.rc.spec +++ b/alot/defaults/alot.rc.spec @@ -230,10 +230,10 @@ prefer_plaintext = boolean(default=False) msg_summary_hides_threadwide_tags = boolean(default=True) # The list of headers to match to determine sending account for a reply. -# Headers are searched in the order in which they are specified here, and the first match -# is used. If multiple accounts match the same header, the one defined first in the account -# block is used. -determine_reply_account_from_headers = force_list(default=list(From,To,Cc,Envelope-To,X-Envelope-To,Delivered-To)) +# Headers are searched in the order in which they are specified here, and the first header +# containing a match is used. If multiple accounts match in that header, the one defined +# first in the account block is used. +reply_account_header_priority = force_list(default=list(From,To,Cc,Envelope-To,X-Envelope-To,Delivered-To)) # Key bindings [bindings] |