diff options
Diffstat (limited to 'sleekxmpp/roster')
-rw-r--r-- | sleekxmpp/roster/single.py | 4 |
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, |