diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2013-10-12 12:44:47 -0700 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-10-12 12:44:47 -0700 |
commit | 69df1e95fe1daf245e592353aee441142e8db172 (patch) | |
tree | 5ddbfff1a6b75e2dec051bc9112c2f9e2a1e7d6a /alot | |
parent | 04724b7822183b13d0aa79359568ee1922c28c11 (diff) | |
parent | 31a6f7da2d0fbd76005dbe53144e57a2eb2e8de2 (diff) |
Merge pull request #660 from foobacca/case-insensitive-reply-prefix
Check for "Re:" at start of subject in case insensitive manner
Diffstat (limited to 'alot')
-rw-r--r-- | alot/commands/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 481d70c2..d09008d2 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -149,7 +149,7 @@ class ReplyCommand(Command): subject = reply_subject_hook(subject) else: rsp = settings.get('reply_subject_prefix') - if not subject.startswith(('Re:', rsp)): + if not subject.lower().startswith(('re:', rsp.lower())): subject = rsp + subject envelope.add('Subject', subject) |