mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +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.
|
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,
|
||||||
|
|
Loading…
Reference in a new issue