fix detection of new messages
This commit is contained in:
parent
ec7aa7a4e7
commit
5db21d01a6
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class AuMBackend(Backend, ICapMessages, ICapMessagesReply, ICapDating):
|
||||||
|
|
||||||
def _iter_messages(self, thread, only_new):
|
def _iter_messages(self, thread, only_new):
|
||||||
try:
|
try:
|
||||||
if only_new and not self.browser.nb_new_mails():
|
if not only_new or self.browser.nb_new_mails():
|
||||||
my_name = self.browser.get_my_name()
|
my_name = self.browser.get_my_name()
|
||||||
contacts = self.browser.get_contact_list()
|
contacts = self.browser.get_contact_list()
|
||||||
contacts.reverse()
|
contacts.reverse()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue