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-10-27 08:09:50 -0400
commitc6ed4b8a1d26e25c221d88052f23963ceeeb21ab (patch)
tree3c141088d076868022980b4c69a608a280146092 /sleekxmpp/clientxmpp.py
parent65aa6573df3a8f298e7df96473014c19216971ef (diff)
downloadslixmpp-c6ed4b8a1d26e25c221d88052f23963ceeeb21ab.tar.gz
slixmpp-c6ed4b8a1d26e25c221d88052f23963ceeeb21ab.tar.bz2
slixmpp-c6ed4b8a1d26e25c221d88052f23963ceeeb21ab.tar.xz
slixmpp-c6ed4b8a1d26e25c221d88052f23963ceeeb21ab.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 4bf759ea..376fcf89 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -418,7 +418,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']