summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-08-01 22:32:54 +0100
committerpazz <patricktotzke@gmail.com>2011-08-01 22:32:54 +0100
commitaa4e0ab75925b69bec8b778349a4c2eaf49d76ba (patch)
tree5d9c585dfdbc39bb5428727bb023f5516c995ae1
parent6442b13d8c7a52aa45cfee35ec29a1d770fd0d80 (diff)
parent27ae44a41a5a26e9abb3df9f9e2587f7f90b5de4 (diff)
Merge branch 'master' of github.com:pazz/notmuch-gui
-rw-r--r--alot/command.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/alot/command.py b/alot/command.py
index e297f328..9882d1fc 100644
--- a/alot/command.py
+++ b/alot/command.py
@@ -514,7 +514,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']
@@ -523,8 +523,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'] = '<%s>' % msg.get_message_id()
ui.apply_command(ComposeCommand(mail=reply))