oops, fix call to fill_thread
This commit is contained in:
parent
5f6744cfe7
commit
5f3c429e83
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class GenericNewspaperBackend(BaseBackend, ICapMessages):
|
||||||
|
|
||||||
def iter_unread_messages(self, thread=None):
|
def iter_unread_messages(self, thread=None):
|
||||||
for thread in self.iter_threads():
|
for thread in self.iter_threads():
|
||||||
self.fill_thread(thread)
|
self.fill_thread(thread, 'root')
|
||||||
for msg in thread.iter_all_messages():
|
for msg in thread.iter_all_messages():
|
||||||
if msg.flags & msg.IS_UNREAD:
|
if msg.flags & msg.IS_UNREAD:
|
||||||
yield msg
|
yield msg
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue