mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Fix typos in the roster update method.
This commit is contained in:
parent
3e384d3cfe
commit
ccbef6b696
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue