diff options
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index b6f15be0..b74e8bdc 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -128,8 +128,10 @@ class ReplyCommand(Command): reply_subject_hook = settings.get_hook('reply_subject') if reply_subject_hook: subject = reply_subject_hook(subject) - elif not subject.startswith('Re:'): - subject = 'Re: ' + subject + else: + rsp = settings.get('reply_subject_prefix') + if not subject.startwith(('Re:', rsp)): + subject = rsp + subject envelope.add('Subject', subject) # set From |