mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Fix roster key issue for non-JID keys.
This commit is contained in:
parent
86d8736dcc
commit
3672856ab4
1 changed files with 3 additions and 0 deletions
|
@ -144,6 +144,9 @@ class RosterNode(object):
|
|||
"""
|
||||
if isinstance(jid, JID):
|
||||
key = jid.bare
|
||||
else:
|
||||
key = jid
|
||||
|
||||
state = {'name': name,
|
||||
'groups': groups or [],
|
||||
'from': afrom,
|
||||
|
|
Loading…
Reference in a new issue