oops, fix call to fill_thread

This commit is contained in:
Romain Bignon 2011-05-11 16:21:07 +02:00
commit 5f3c429e83

View file

@ -81,7 +81,7 @@ class GenericNewspaperBackend(BaseBackend, ICapMessages):
def iter_unread_messages(self, thread=None):
for thread in self.iter_threads():
self.fill_thread(thread)
self.fill_thread(thread, 'root')
for msg in thread.iter_all_messages():
if msg.flags & msg.IS_UNREAD:
yield msg