fix iteration on contacts
This commit is contained in:
parent
8fd3468352
commit
9582c63c8c
1 changed files with 4 additions and 4 deletions
|
|
@ -188,10 +188,10 @@ class AuMBackend(BaseBackend, ICapMessages, ICapMessagesReply, ICapDating, ICapC
|
|||
continue
|
||||
|
||||
# TODO age in contact['birthday']
|
||||
contact = Contact(contact['id'], contact['pseudo'], s)
|
||||
contact.status_msg = u'%s old' % contact['birthday']
|
||||
contact.thumbnail_url = contact['cover']
|
||||
yield contact
|
||||
c = Contact(contact['id'], contact['pseudo'], s)
|
||||
c.status_msg = u'%s old' % contact['birthday']
|
||||
c.thumbnail_url = contact['cover']
|
||||
yield c
|
||||
|
||||
def iter_chat_messages(self, _id=None):
|
||||
with self.browser:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue