First pass at integrating the new roster manager.

This commit is contained in:
Lance Stout
2010-10-26 23:47:17 -04:00
parent b888610525
commit 65aa6573df
9 changed files with 515 additions and 136 deletions
+2
View File
@@ -106,6 +106,8 @@ class Roster(ElementBase):
item = {}
item['name'] = itemxml.get('name', '')
item['subscription'] = itemxml.get('subscription', '')
item['ask'] = itemxml.get('ask', '')
item['approved'] = itemxml.get('approved', '')
item['groups'] = []
groupsxml = itemxml.findall('{jabber:iq:roster}group')
if groupsxml is not None: