Commit 67fa1968 authored by Romain Bignon's avatar Romain Bignon

oops, fix call to fill_thread

parent 281dcaa8
......@@ -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, 'root')
for msg in thread.iter_all_messages():
if msg.flags & msg.IS_UNREAD:
yield msg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment