Remove "thread" argument in iter_unread_messages
It is unused, and no backend implemented it — so it was wrong to have it in the function signature. It also does not seem very helpful, we have get_threads() if we want to do something advanced with treads. fixes #825
This commit is contained in:
parent
3279f5dc9c
commit
79724c90f5
8 changed files with 8 additions and 9 deletions
|
|
@ -140,11 +140,10 @@ class ICapMessages(IBaseCap):
|
|||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
def iter_unread_messages(self, thread=None):
|
||||
def iter_unread_messages(self):
|
||||
"""
|
||||
Iterates on messages which hasn't been marked as read.
|
||||
|
||||
@param thread thread name (optional)
|
||||
@return [iter] Message objects
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue