diff options
author | Lance Stout <lancestout@gmail.com> | 2010-10-26 23:47:17 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-11-17 01:49:19 -0500 |
commit | 673545c7e48d86b02f811ad239ed317e4bca0bbc (patch) | |
tree | 4a9d99fdb23b5ba0bc168b371a029b353256b54b /sleekxmpp/stanza | |
parent | 45991e47eeab97f0411139c5b1627ac6350de3d0 (diff) | |
download | slixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.tar.gz slixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.tar.bz2 slixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.tar.xz slixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.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: |