fix Bug #471 IS_HTML Flag
This commit is contained in:
parent
5d3981cd44
commit
2db0fe5a75
1 changed files with 2 additions and 1 deletions
|
|
@ -53,13 +53,14 @@ class Newspaper20minutesBackend(BaseBackend, ICapMessages):
|
||||||
if not thread:
|
if not thread:
|
||||||
thread = Thread(id)
|
thread = Thread(id)
|
||||||
|
|
||||||
|
flags = Message.IS_HTML
|
||||||
thread.title = content.title
|
thread.title = content.title
|
||||||
if not thread.date:
|
if not thread.date:
|
||||||
thread.date = content.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, 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
|
return thread
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue