works with adopteunmec via https
This commit is contained in:
parent
c6c856fa86
commit
1f95e7631f
2 changed files with 31 additions and 16 deletions
|
|
@ -263,7 +263,10 @@ class AuMModule(Module, CapMessages, CapMessagesPost, CapDating, CapChat, CapCon
|
|||
continue
|
||||
slut = self._get_slut(thread['who']['id'])
|
||||
if parse_dt(thread['date']) > slut['lastmsg'] or thread['status'] != slut['status']:
|
||||
t = self.get_thread(thread['who']['id'], contacts, get_profiles=True)
|
||||
try:
|
||||
t = self.get_thread(thread['who']['id'], contacts, get_profiles=True)
|
||||
except BrowserUnavailable:
|
||||
continue
|
||||
for m in t.iter_all_messages():
|
||||
if m.flags & m.IS_UNREAD:
|
||||
yield m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue