Fix typos in the roster update method.

This commit is contained in:
Lance Stout 2011-10-07 18:13:50 -04:00
parent 3e384d3cfe
commit ccbef6b696

View file

@ -209,11 +209,11 @@ class RosterNode(object):
Implies block=False. Implies block=False.
""" """
self[jid]['name'] = name self[jid]['name'] = name
self[jid]['groups'] = group self[jid]['groups'] = groups
self[jid].save() self[jid].save()
if not self.xmpp.is_component: if not self.xmpp.is_component:
iq = self.Iq() iq = self.xmpp.Iq()
iq['type'] = 'set' iq['type'] = 'set'
iq['roster']['items'] = {jid: {'name': name, iq['roster']['items'] = {jid: {'name': name,
'subscription': subscription, 'subscription': subscription,