summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-27 08:09:50 -0400
committerLance Stout <lancestout@gmail.com>2010-11-17 01:49:51 -0500
commit69d430dd75f526984fd6ea6f9db294731698712c (patch)
treeb3e6a1eec56cde1633486cc91cf92bc2362b587c /sleekxmpp/clientxmpp.py
parent673545c7e48d86b02f811ad239ed317e4bca0bbc (diff)
downloadslixmpp-69d430dd75f526984fd6ea6f9db294731698712c.tar.gz
slixmpp-69d430dd75f526984fd6ea6f9db294731698712c.tar.bz2
slixmpp-69d430dd75f526984fd6ea6f9db294731698712c.tar.xz
slixmpp-69d430dd75f526984fd6ea6f9db294731698712c.zip
Cleaned up names.
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 8b8f05f6..dbf87647 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -421,7 +421,7 @@ class ClientXMPP(BaseXMPP):
if iq['type'] == 'set' or (iq['type'] == 'result' and request):
for jid in iq['roster']['items']:
item = iq['roster']['items'][jid]
- roster = self.rosters[iq['to'].bare]
+ roster = self.roster[iq['to'].bare]
roster[jid]['name'] = item['name']
roster[jid]['groups'] = item['groups']
roster[jid]['from'] = item['subscription'] in ['from', 'both']