summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-10-07 18:13:50 -0400
committerLance Stout <lancestout@gmail.com>2011-10-07 18:13:50 -0400
commitccbef6b6968b4d50192b290404869e18d33c8414 (patch)
tree74e849da244cf4018833379d6e55ac11cc54b0d1
parent3e384d3cfe3c27e6825a6c6827dda732974e9b50 (diff)
downloadslixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.tar.gz
slixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.tar.bz2
slixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.tar.xz
slixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.zip
Fix typos in the roster update method.
-rw-r--r--sleekxmpp/roster/single.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/roster/single.py b/sleekxmpp/roster/single.py
index c2a73d34..c2c7497d 100644
--- a/sleekxmpp/roster/single.py
+++ b/sleekxmpp/roster/single.py
@@ -209,11 +209,11 @@ class RosterNode(object):
Implies block=False.
"""
self[jid]['name'] = name
- self[jid]['groups'] = group
+ self[jid]['groups'] = groups
self[jid].save()
if not self.xmpp.is_component:
- iq = self.Iq()
+ iq = self.xmpp.Iq()
iq['type'] = 'set'
iq['roster']['items'] = {jid: {'name': name,
'subscription': subscription,