From ccbef6b6968b4d50192b290404869e18d33c8414 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 7 Oct 2011 18:13:50 -0400 Subject: Fix typos in the roster update method. --- sleekxmpp/roster/single.py | 4 ++-- 1 file 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, -- cgit v1.2.3