Commit f19220a7 authored by Yann Leboulanger's avatar Yann Leboulanger

stupid me, calling .keys() on a dict ...

parent e795a074
......@@ -292,7 +292,7 @@ class Contacts:
def iter_contacts(self, account):
if account in self._contacts:
for jid in self._contacts[account].keys():
for contact in self._contacts[account][jid].keys():
for contact in self._contacts[account][jid]:
yield contact
def get_contact_from_full_jid(self, account, fjid):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment