diff options
author | patrick <p.totzke@ed.ac.uk> | 2011-08-01 14:54:28 +0100 |
---|---|---|
committer | patrick <p.totzke@ed.ac.uk> | 2011-08-01 14:54:28 +0100 |
commit | 27ae44a41a5a26e9abb3df9f9e2587f7f90b5de4 (patch) | |
tree | b17038e874a4a3de290ace0bcfd854ed6866f79c | |
parent | 658f8506c655b2dd22ea1f25b3f7335cc05dc031 (diff) |
fix: reply-to needs brackets..
-rw-r--r-- | alot/command.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/command.py b/alot/command.py index 4c221a6b..c55f82db 100644 --- a/alot/command.py +++ b/alot/command.py @@ -512,7 +512,7 @@ class ReplyCommand(Command): # set In-Reply-To header del(reply['In-Reply-To']) - reply['In-Reply-To'] = msg.get_message_id() + reply['In-Reply-To'] = '<%s>' % msg.get_message_id() # set References header old_references = mail['References'] @@ -521,10 +521,10 @@ class ReplyCommand(Command): references = old_references[-8:] if len(old_references) > 8: references = old_references[:1] + references - references.append(msg.get_message_id()) + references.append('<%s>' % msg.get_message_id()) reply['References'] = ' '.join(references) else: - reply['References'] = msg.get_message_id() + reply['References'] = '<%s>' % msg.get_message_id() ui.apply_command(ComposeCommand(mail=reply)) |