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-10-26 23:47:17 -0400
commit65aa6573df3a8f298e7df96473014c19216971ef (patch)
treed9a40d480071bd5e1983f3de41aa1860be1baa98 /sleekxmpp/stanza/roster.py
parentb888610525a441dce622bf6132a4b3cab76a26b2 (diff)
downloadslixmpp-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/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: