diff options
author | Lance Stout <lancestout@gmail.com> | 2010-10-26 23:47:17 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-10-26 23:47:17 -0400 |
commit | 65aa6573df3a8f298e7df96473014c19216971ef (patch) | |
tree | d9a40d480071bd5e1983f3de41aa1860be1baa98 /sleekxmpp/stanza | |
parent | b888610525a441dce622bf6132a4b3cab76a26b2 (diff) | |
download | slixmpp-65aa6573df3a8f298e7df96473014c19216971ef.tar.gz slixmpp-65aa6573df3a8f298e7df96473014c19216971ef.tar.bz2 slixmpp-65aa6573df3a8f298e7df96473014c19216971ef.tar.xz slixmpp-65aa6573df3a8f298e7df96473014c19216971ef.zip |
First pass at integrating the new roster manager.
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r-- | sleekxmpp/stanza/roster.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/stanza/roster.py b/sleekxmpp/stanza/roster.py index 8f154a22..57ea62ba 100644 --- a/sleekxmpp/stanza/roster.py +++ b/sleekxmpp/stanza/roster.py @@ -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: |