summaryrefslogtreecommitdiff
path: root/alot/commands/thread.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-20 15:24:03 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-20 15:24:03 +0100
commita70c1991cae77c80a4643b5bebdc1a849afa163e (patch)
tree2329617a55727c57a243b28e8da1f1a01a37ca0a /alot/commands/thread.py
parent50f3c8ebac50ea9804f79ab0890801b00bed000f (diff)
commands/thread: replace one more header with named constant
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 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)