summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza/roster.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-26 23:47:17 -0400
committerLance Stout <lancestout@gmail.com>2010-11-17 01:49:19 -0500
commit673545c7e48d86b02f811ad239ed317e4bca0bbc (patch)
tree4a9d99fdb23b5ba0bc168b371a029b353256b54b /sleekxmpp/stanza/roster.py
parent45991e47eeab97f0411139c5b1627ac6350de3d0 (diff)
downloadslixmpp-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/roster.py')
-rw-r--r--sleekxmpp/stanza/roster.py2
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: