fix Bug #471 IS_HTML Flag

This commit is contained in:
juke 2011-02-04 19:53:38 +01:00
commit 2db0fe5a75

View file

@ -53,13 +53,14 @@ class Newspaper20minutesBackend(BaseBackend, ICapMessages):
if not thread:
thread = Thread(id)
flags = Message.IS_HTML
thread.title = content.title
if not thread.date:
thread.date = content.date
#thread.root = Message(thread=thread, id=0, title=content.title, sender=content.author, receivers=None, date=thread.date, parent=None, content=content.body, signature=None, children = [], flags=flags)
thread.root = Message(thread=thread, id=0, title=content.title, sender=content.author, receivers=None, date=thread.date, parent=None, content=content.body)
thread.root = Message(thread=thread, id=0, title=content.title, sender=content.author, receivers=None, date=thread.date, parent=None, content=content.body, flags=flags)
return thread