support fill of threads
This commit is contained in:
parent
72850a0a79
commit
5f6744cfe7
1 changed files with 3 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class GenericNewspaperBackend(BaseBackend, ICapMessages):
|
|||
thread.date = article.datetime
|
||||
yield(thread)
|
||||
|
||||
def fill_thread(self, thread):
|
||||
def fill_thread(self, thread, fields):
|
||||
"fill the thread"
|
||||
return self.get_thread(thread)
|
||||
|
||||
|
|
@ -97,3 +97,5 @@ class GenericNewspaperBackend(BaseBackend, ICapMessages):
|
|||
'comments',
|
||||
default=[]) + [message.id])
|
||||
self.storage.save()
|
||||
|
||||
OBJECTS = {Thread: fill_thread}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue