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
|
continue
|
||||||
|
|
||||||
# TODO age in contact['birthday']
|
# TODO age in contact['birthday']
|
||||||
contact = Contact(contact['id'], contact['pseudo'], s)
|
c = Contact(contact['id'], contact['pseudo'], s)
|
||||||
contact.status_msg = u'%s old' % contact['birthday']
|
c.status_msg = u'%s old' % contact['birthday']
|
||||||
contact.thumbnail_url = contact['cover']
|
c.thumbnail_url = contact['cover']
|
||||||
yield contact
|
yield c
|
||||||
|
|
||||||
def iter_chat_messages(self, _id=None):
|
def iter_chat_messages(self, _id=None):
|
||||||
with self.browser:
|
with self.browser:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue