correctly split ID from In-Reply-To header
This commit is contained in:
parent
f1b3264a67
commit
edee4b51b3
1 changed files with 2 additions and 1 deletions
|
|
@ -178,7 +178,8 @@ class Monboob(ReplApplication):
|
||||||
else:
|
else:
|
||||||
# This is a reply
|
# This is a reply
|
||||||
try:
|
try:
|
||||||
bname, thread_id, parent_id = reply_to.split('.', 2)
|
bname, id = reply_to.split('.', 1)
|
||||||
|
thread_id, parent_id = id.rsplit('.', 1)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
print >>sys.stderr, 'In-Reply-To header might be in form <backend.thread_id.message_id>'
|
print >>sys.stderr, 'In-Reply-To header might be in form <backend.thread_id.message_id>'
|
||||||
return 1
|
return 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue