fix checking of accused messages

This commit is contained in:
Romain Bignon 2011-10-09 20:37:43 +02:00
commit cbec5380f1

View file

@ -172,7 +172,7 @@ class AuMBackend(BaseBackend, ICapMessages, ICapMessagesPost, ICapDating, ICapCh
break
if int(mail['id_from']) == self.browser.my_id:
if int(mails['remoteStatus']) == 0:
if int(mails['remoteStatus']) == 0 and msg is None:
flags |= Message.IS_NOT_ACCUSED
else:
flags |= Message.IS_ACCUSED