diff options
-rw-r--r-- | alot/commands/thread.py | 2 | ||||
-rw-r--r-- | alot/mail/headers.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 3e0bba01..4705a4c7 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -168,7 +168,7 @@ class ReplyCommand(Command): def _list_reply(self, message): # Auto-detect ML - if 'List-Id' in message.headers and self._force_list_reply is None: + if HDR.LIST_ID in message.headers and self._force_list_reply is None: return settings.get('auto_replyto_mailinglist') return bool(self._force_list_reply) diff --git a/alot/mail/headers.py b/alot/mail/headers.py index 3138c281..fa7f6414 100644 --- a/alot/mail/headers.py +++ b/alot/mail/headers.py @@ -14,5 +14,6 @@ SUBJECT = 'Subject' IN_REPLY_TO = 'In-Reply-To' REFERENCES = 'References' +LIST_ID = 'List-ID' X_BEEN_THERE = 'X-Been-There' X_MAILING_LIST = 'X-Mailing-List' |